#B7CD21

A color in the Yellow, Gold family

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

Open in Picker Generate Scheme

Color Codes

HEX#b7cd21
RGBrgb(183 205 33)
RGB (legacy)rgb(183, 205, 33)
RGB %rgb(72% 80% 13%)
HSLhsl(68 72% 47%)
HSV / HSBhsv(68, 84%, 80%)
HWBhwb(68 13% 20%)
CMYKcmyk(11%, 0%, 84%, 20%)
CIELAB (D50)lab(78.69 -22.11 72.65)
LCHlch(78.69 75.94 106.93)
OKLaboklab(0.8043 -0.0824 0.1587)
OKLCHoklch(0.8043 0.1788 117.44)
Decimal12045601

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 3.5
Closest web-safe color#cccc33
Hue68°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)47%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)70% / 74%
Relative luminance (WCAG)0.5384
Red / Green / Blue183 / 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.77: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.8 / -69.9 · As background with white / black text: Lc -36.8 / 71.1

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