#CCD159#CCD159

#CCD159 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.3% C 0.143 H 111.3°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CCD159
RGBrgb(204, 209, 89)
HSLhsl(63, 57%, 58%)
HSVhsv(63, 57%, 82%)
CMYKcmyk(2.4%, 0%, 57.4%, 18%)
CIE-LABlab(81.38, -17.45, 57.60)
CIE-LCHlch(81.38, 60.19, 106.85°)
OKLaboklab(83.35% -0.0519 0.133)
OKLCHoklch(83.35% 0.143 111.3)
XYZxyz(49.5067, 59.1607, 18.2605)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD159 #5E59D1
analogous
#D19A59 #CCD159 #90D159
triadic
#CCD159 #59CCD1 #D159CC
tetradic
#CCD159 #59D19A #5E59D1 #D15990
square
#CCD159 #59D19A #5E59D1 #D15990
split-complementary
#CCD159 #5990D1 #9A59D1
monochromatic
#858926 #B4B933 #CCD159 #DBDE89 #E9ECB9

Accessibility & contrast

On white

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

On black

12.83
#CCD159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD159
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD159#FFFFFF#000000##000000
##CCD1591.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C84C
Deuteranopia (green-blind)
#E0CC60
Tritanopia (blue-blind)
#D9C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd159;
/* rgb */ color: rgb(204, 209, 89);
/* oklch */ color: oklch(83.3% 0.143 111.3);
Tailwind
colors: {
  custom: {
    50: '#dede8c',
    500: '#ccd159',
    950: '#000000',
  },
}
SCSS
$custom: #ccd159;
$custom-light: #dede8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd159",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 62.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83345,
    "c": 0.14276,
    "h": 111.3
  },
  "luminance": 0.5916
}

Semantic roles & 50–950 ramp

primary
#CCD159
secondary
#423E90
accent
#48E04E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD159

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

Preview Lab → · Contrast checker → · Palette generator →

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