#CFD22B#CFD22B

#CFD22B is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.173 H 110.7°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CFD22B
RGBrgb(207, 210, 43)
HSLhsl(61, 66%, 50%)
HSVhsv(61, 80%, 82%)
CMYKcmyk(1.4%, 0%, 79.5%, 17.6%)
CIE-LABlab(81.58, -19.11, 74.58)
CIE-LCHlch(81.58, 77.00, 104.37°)
OKLaboklab(83.47% -0.0611 0.1615)
OKLCHoklch(83.47% 0.173 110.7)
XYZxyz(49.2166, 59.5344, 11.1838)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD22B #2E2BD2
analogous
#D2822B #CFD22B #7BD22B
triadic
#CFD22B #2BCFD2 #D22BCF
tetradic
#CFD22B #2BD282 #2E2BD2 #D22B7B
square
#CFD22B #2BD282 #2E2BD2 #D22B7B
split-complementary
#CFD22B #2B7BD2 #822BD2
monochromatic
#6B6C16 #9D9F21 #CFD22B #DBDE5C #E7E88F

Accessibility & contrast

On white

1.63
#CFD22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CFD22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD22B
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD22B#FFFFFF#000000##000000
##CFD22B1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C800
Deuteranopia (green-blind)
#E4CD3B
Tritanopia (blue-blind)
#DEC4B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd22b;
/* rgb */ color: rgb(207, 210, 43);
/* oklch */ color: oklch(83.5% 0.173 110.7);
Tailwind
colors: {
  custom: {
    50: '#e2df74',
    500: '#cfd22b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd22b;
$custom-light: #e2df74;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd22b",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 43
  },
  "hsl": {
    "h": 61.078,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.8347,
    "c": 0.1727,
    "h": 110.7
  },
  "luminance": 0.59533
}

Semantic roles & 50–950 ramp

primary
#CFD22B
secondary
#2D2B76
accent
#3FE942
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CFD22B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFD22B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva