#CCD07D#CCD07D

#CCD07D is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.106 H 110.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CCD07D
RGBrgb(204, 208, 125)
HSLhsl(63, 47%, 65%)
HSVhsv(63, 40%, 82%)
CMYKcmyk(1.9%, 0%, 39.9%, 18.4%)
CIE-LABlab(81.53, -13.65, 40.70)
CIE-LCHlch(81.53, 42.93, 108.54°)
OKLaboklab(83.6% -0.0377 0.099)
OKLCHoklch(83.6% 0.106 110.9)
XYZxyz(51.1600, 59.4307, 28.1743)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD07D #817DD0
analogous
#D0AB7D #CCD07D #A2D07D
triadic
#CCD07D #7DCCD0 #D07DCC
tetradic
#CCD07D #7DD0AB #817DD0 #D07DA2
square
#CCD07D #7DD0AB #817DD0 #D07DA2
split-complementary
#CCD07D #7DA2D0 #AB7DD0
monochromatic
#969B38 #BAC050 #CCD07D #DEE0AA #EFF1D7

Accessibility & contrast

On white

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

On black

12.89
#CCD07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD07D
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD07D#FFFFFF#000000##000000
##CCD07D1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC977
Deuteranopia (green-blind)
#DCCC81
Tritanopia (blue-blind)
#D6C7BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd07d;
/* rgb */ color: rgb(204, 208, 125);
/* oklch */ color: oklch(83.6% 0.106 110.9);
Tailwind
colors: {
  custom: {
    50: '#dddea4',
    500: '#ccd07d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd07d;
$custom-light: #dddea4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd07d",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 125
  },
  "hsl": {
    "h": 62.892,
    "s": 46.893,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83597,
    "c": 0.10593,
    "h": 110.9
  },
  "luminance": 0.5943
}

Semantic roles & 50–950 ramp

primary
#CCD07D
secondary
#5551A0
accent
#2BBA32
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD07D

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

Preview Lab → · Contrast checker → · Palette generator →

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