#CCD17D#CCD17D

#CCD17D is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.107 H 111.4°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#CCD17D
RGBrgb(204, 209, 125)
HSLhsl(64, 48%, 65%)
HSVhsv(64, 40%, 82%)
CMYKcmyk(2.4%, 0%, 40.2%, 18%)
CIE-LABlab(81.79, -14.16, 41.04)
CIE-LCHlch(81.79, 43.41, 109.03°)
OKLaboklab(83.81% -0.0392 0.0997)
OKLCHoklch(83.81% 0.107 111.4)
XYZxyz(51.4046, 59.9198, 28.2558)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD17D #827DD1
analogous
#D1AC7D #CCD17D #A2D17D
triadic
#CCD17D #7DCCD1 #D17DCC
tetradic
#CCD17D #7DD1AC #827DD1 #D17DA2
square
#CCD17D #7DD1AC #827DD1 #D17DA2
split-complementary
#CCD17D #7DA2D1 #AC7DD1
monochromatic
#969C37 #BAC150 #CCD17D #DEE1AA #EFF1D7

Accessibility & contrast

On white

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

On black

12.98
#CCD17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD17D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD17D#FFFFFF#000000##000000
##CCD17D1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA76
Deuteranopia (green-blind)
#DDCD81
Tritanopia (blue-blind)
#D6C8BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd17d;
/* rgb */ color: rgb(204, 209, 125);
/* oklch */ color: oklch(83.8% 0.107 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddfa4',
    500: '#ccd17d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd17d;
$custom-light: #dddfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd17d",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 63.571,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8381,
    "c": 0.10716,
    "h": 111.4
  },
  "luminance": 0.59919
}

Semantic roles & 50–950 ramp

primary
#CCD17D
secondary
#5551A2
accent
#2BBB33
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD17D

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

Preview Lab → · Contrast checker → · Palette generator →

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