#B9CD21

A color in the Yellow, Gold family

#b9cd21 is a color in the Yellow, Gold family: RGB(185, 205, 33), HSL(67°, 72%, 47%), CMYK(10%, 0%, 84%, 20%). Closest named color: yellowgreen. Contrast is 1.78:1 on white and 11.82:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b9cd21
RGBrgb(185 205 33)
RGB (legacy)rgb(185, 205, 33)
RGB %rgb(73% 80% 13%)
HSLhsl(67 72% 47%)
HSV / HSBhsv(67, 84%, 80%)
HWBhwb(67 13% 20%)
CMYKcmyk(10%, 0%, 84%, 20%)
CIELAB (D50)lab(78.84 -21.29 72.85)
LCHlch(78.84 75.9 106.29)
OKLaboklab(0.8058 -0.0802 0.159)
OKLCHoklch(0.8058 0.1781 116.77)
Decimal12176673

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 3.8
Closest web-safe color#cccc33
Hue67°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)47%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)70% / 74%
Relative luminance (WCAG)0.5409
Red / Green / Blue185 / 205 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.78:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.82: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.6 / -70.1 · As background with white / black text: Lc -36.5 / 71.3

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: #b9cd21;
  --color-brand-oklch: oklch(80.58% 0.1781 116.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(185 205 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b9cd21] text-[#b9cd21] border-[#b9cd21]">