#CCD15F#CCD15F

#CCD15F is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.4% C 0.138 H 111.3°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CCD15F
RGBrgb(204, 209, 95)
HSLhsl(63, 55%, 60%)
HSVhsv(63, 55%, 82%)
CMYKcmyk(2.4%, 0%, 54.5%, 18%)
CIE-LABlab(81.44, -16.98, 54.99)
CIE-LCHlch(81.44, 57.55, 107.16°)
OKLaboklab(83.41% -0.05 0.1281)
OKLCHoklch(83.41% 0.138 111.3)
XYZxyz(49.7690, 59.2656, 19.6419)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD15F #645FD1
analogous
#D19D5F #CCD15F #93D15F
triadic
#CCD15F #5FCCD1 #D15FCC
tetradic
#CCD15F #5FD19D #645FD1 #D15F93
square
#CCD15F #5FD19D #645FD1 #D15F93
split-complementary
#CCD15F #5F93D1 #9D5FD1
monochromatic
#898D29 #B7BD36 #CCD15F #DBDF8F #EAECBE

Accessibility & contrast

On white

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

On black

12.85
#CCD15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD15F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD15F#FFFFFF#000000##000000
##CCD15F1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC953
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#D8C6B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd15f;
/* rgb */ color: rgb(204, 209, 95);
/* oklch */ color: oklch(83.4% 0.138 111.3);
Tailwind
colors: {
  custom: {
    50: '#dede90',
    500: '#ccd15f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd15f;
$custom-light: #dede90;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd15f",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 62.632,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83409,
    "c": 0.1375,
    "h": 111.3
  },
  "luminance": 0.59265
}

Semantic roles & 50–950 ramp

primary
#CCD15F
secondary
#454193
accent
#49DF50
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD15F

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

Preview Lab → · Contrast checker → · Palette generator →

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