#CDD96C#CDD96C

#CDD96C is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.4% C 0.134 H 114.5°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#CDD96C
RGBrgb(205, 217, 108)
HSLhsl(67, 59%, 64%)
HSVhsv(67, 50%, 85%)
CMYKcmyk(5.5%, 0%, 50.2%, 14.9%)
CIE-LABlab(83.80, -19.43, 51.76)
CIE-LCHlch(83.80, 55.29, 110.57°)
OKLaboklab(85.36% -0.0557 0.1224)
OKLCHoklch(85.36% 0.134 114.5)
XYZxyz(52.6973, 63.6883, 23.7015)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD96C #786CD9
analogous
#D9AE6C #CDD96C #96D96C
triadic
#CDD96C #6CCDD9 #D96CCD
tetradic
#CDD96C #6CD9AE #786CD9 #D96C96
square
#CDD96C #6CD9AE #786CD9 #D96C96
split-complementary
#CDD96C #6C96D9 #AE6CD9
monochromatic
#94A12A #BCCC3B #CDD96C #DEE69D #EEF2CD

Accessibility & contrast

On white

1.53
#CDD96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#CDD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD96C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD96C#FFFFFF#000000##000000
##CDD96C1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D062
Deuteranopia (green-blind)
#E5D272
Tritanopia (blue-blind)
#D8CEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd96c;
/* rgb */ color: rgb(205, 217, 108);
/* oklch */ color: oklch(85.4% 0.134 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee499',
    500: '#cdd96c',
    950: '#000000',
  },
}
SCSS
$custom: #cdd96c;
$custom-light: #dee499;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd96c",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 66.606,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85362,
    "c": 0.13444,
    "h": 114.5
  },
  "luminance": 0.63688
}

Semantic roles & 50–950 ramp

primary
#CDD96C
secondary
#4F45A5
accent
#1FC731
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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