#B2BB4E

A color in the Yellow, Gold family

#b2bb4e is a color in the Yellow, Gold family: RGB(178, 187, 78), HSL(65°, 44%, 52%), CMYK(5%, 0%, 58%, 27%). Closest named color: darkkhaki. Contrast is 2.08:1 on white and 10.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b2bb4e
RGBrgb(178 187 78)
RGB (legacy)rgb(178, 187, 78)
RGB %rgb(70% 73% 31%)
HSLhsl(65 44% 52%)
HSV / HSBhsv(65, 58%, 73%)
HWBhwb(65 31% 27%)
CMYKcmyk(5%, 0%, 58%, 27%)
CIELAB (D50)lab(73.54 -14.17 52.57)
LCHlch(73.54 54.44 105.08)
OKLaboklab(0.7632 -0.0531 0.1221)
OKLCHoklch(0.7632 0.1331 113.49)
Decimal11713358

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 4
Closest web-safe color#99cc66
Hue65°
Saturation (HSL / HSV)44% / 58%
Lightness (HSL)52%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)67% / 69%
Relative luminance (WCAG)0.4556
Red / Green / Blue178 / 187 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.11: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.5 / -61.8 · As background with white / black text: Lc -45.1 / 63.4

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: #b2bb4e;
  --color-brand-oklch: oklch(76.32% 0.1331 113.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 187 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b2bb4e] text-[#b2bb4e] border-[#b2bb4e]">