#B4CF21

A color in the Yellow, Gold family

#b4cf21 is a color in the Yellow, Gold family: RGB(180, 207, 33), HSL(69°, 73%, 47%), CMYK(13%, 0%, 84%, 19%). Closest named color: yellowgreen. Contrast is 1.77:1 on white and 11.89:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b4cf21
RGBrgb(180 207 33)
RGB (legacy)rgb(180, 207, 33)
RGB %rgb(71% 81% 13%)
HSLhsl(69 73% 47%)
HSV / HSBhsv(69, 84%, 81%)
HWBhwb(69 13% 19%)
CMYKcmyk(13%, 0%, 84%, 19%)
CIELAB (D50)lab(79.03 -24.23 72.82)
LCHlch(79.03 76.74 108.41)
OKLaboklab(0.8066 -0.0882 0.1592)
OKLCHoklch(0.8066 0.182 118.99)
Decimal11849505

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 3.3
Closest web-safe color#cccc33
Hue69°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)47%
Brightness or Value (HSV)81%
Luminance (Rec.601 / Rec.709)70% / 74%
Relative luminance (WCAG)0.5444
Red / Green / Blue180 / 207 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.77:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.89: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 32.2 / -70.5 · As background with white / black text: Lc -36.2 / 71.6

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: #b4cf21;
  --color-brand-oklch: oklch(80.66% 0.182 118.99);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(180 207 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b4cf21] text-[#b4cf21] border-[#b4cf21]">