#CFD15B#CFD15B

#CFD15B is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.140 H 110.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CFD15B
RGBrgb(207, 209, 91)
HSLhsl(61, 56%, 59%)
HSVhsv(61, 56%, 82%)
CMYKcmyk(1%, 0%, 56.5%, 18%)
CIE-LABlab(81.63, -16.07, 57.07)
CIE-LCHlch(81.63, 59.29, 105.73°)
OKLaboklab(83.61% -0.048 0.132)
OKLCHoklch(83.61% 0.14 110)
XYZxyz(50.4223, 59.6229, 18.7478)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD15B #5D5BD1
analogous
#D1985B #CFD15B #94D15B
triadic
#CFD15B #5BCFD1 #D15BCF
tetradic
#CFD15B #5BD198 #5D5BD1 #D15B94
square
#CFD15B #5BD198 #5D5BD1 #D15B94
split-complementary
#CFD15B #5B94D1 #985BD1
monochromatic
#898B27 #B8BA34 #CFD15B #DDDE8B #EBECBB

Accessibility & contrast

On white

1.62
#CFD15B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#CFD15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD15B
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD15B#FFFFFF#000000##000000
##CFD15B1.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#E1CD62
Tritanopia (blue-blind)
#DCC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd15b;
/* rgb */ color: rgb(207, 209, 91);
/* oklch */ color: oklch(83.6% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0de8d',
    500: '#cfd15b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd15b;
$custom-light: #e0de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd15b",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 91
  },
  "hsl": {
    "h": 61.017,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8361,
    "c": 0.14048,
    "h": 110
  },
  "luminance": 0.59622
}

Semantic roles & 50–950 ramp

primary
#CFD15B
secondary
#413F91
accent
#48DF4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD15B

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

Preview Lab → · Contrast checker → · Palette generator →

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