#CCD06F#CCD06F

#CCD06F is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.121 H 110.8°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CCD06F
RGBrgb(204, 208, 111)
HSLhsl(62, 51%, 63%)
HSVhsv(62, 47%, 82%)
CMYKcmyk(1.9%, 0%, 46.6%, 18.4%)
CIE-LABlab(81.35, -15.08, 47.37)
CIE-LCHlch(81.35, 49.72, 107.66°)
OKLaboklab(83.39% -0.043 0.113)
OKLCHoklch(83.39% 0.121 110.8)
XYZxyz(50.3279, 59.0978, 23.7917)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD06F #736FD0
analogous
#D0A36F #CCD06F #9CD06F
triadic
#CCD06F #6FCCD0 #D06FCC
tetradic
#CCD06F #6FD0A3 #736FD0 #D06F9C
square
#CCD06F #6FD0A3 #736FD0 #D06F9C
split-complementary
#CCD06F #6F9CD0 #A36FD0
monochromatic
#909430 #BCC141 #CCD06F #DCDF9D #EDEECB

Accessibility & contrast

On white

1.64
#CCD06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CCD06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD06F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD06F#FFFFFF#000000##000000
##CCD06F1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC967
Deuteranopia (green-blind)
#DECC74
Tritanopia (blue-blind)
#D7C6B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd06f;
/* rgb */ color: rgb(204, 208, 111);
/* oklch */ color: oklch(83.4% 0.121 110.8);
Tailwind
colors: {
  custom: {
    50: '#ddde9a',
    500: '#ccd06f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd06f;
$custom-light: #ddde9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd06f",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 111
  },
  "hsl": {
    "h": 62.474,
    "s": 50.785,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83393,
    "c": 0.1209,
    "h": 110.8
  },
  "luminance": 0.59097
}

Semantic roles & 50–950 ramp

primary
#CCD06F
secondary
#4D499A
accent
#27BE2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD06F

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

Preview Lab → · Contrast checker → · Palette generator →

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