#B2BC4E

A color in the Yellow, Gold family

#b2bc4e is a color in the Yellow, Gold family: RGB(178, 188, 78), HSL(65°, 45%, 52%), CMYK(5%, 0%, 59%, 26%). Closest named color: darkkhaki. Contrast is 2.06:1 on white and 10.2:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b2bc4e
RGBrgb(178 188 78)
RGB (legacy)rgb(178, 188, 78)
RGB %rgb(70% 74% 31%)
HSLhsl(65 45% 52%)
HSV / HSBhsv(65, 59%, 74%)
HWBhwb(65 31% 26%)
CMYKcmyk(5%, 0%, 59%, 26%)
CIELAB (D50)lab(73.82 -14.64 52.86)
LCHlch(73.82 54.85 105.48)
OKLaboklab(0.7655 -0.0545 0.1228)
OKLCHoklch(0.7655 0.1343 113.94)
Decimal11713614

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 4.1
Closest web-safe color#99cc66
Hue65°
Saturation (HSL / HSV)45% / 59%
Lightness (HSL)52%
Brightness or Value (HSV)74%
Luminance (Rec.601 / Rec.709)68% / 70%
Relative luminance (WCAG)0.4598
Red / Green / Blue178 / 188 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.06:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.20:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 40.1 / -62.2 · As background with white / black text: Lc -44.6 / 63.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #b2bc4e;
  --color-brand-oklch: oklch(76.55% 0.1343 113.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 188 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b2bc4e] text-[#b2bc4e] border-[#b2bc4e]">