#CCD158#CCD158

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

Color values

HEX#CCD158
RGBrgb(204, 209, 88)
HSLhsl(62, 57%, 58%)
HSVhsv(62, 58%, 82%)
CMYKcmyk(2.4%, 0%, 57.9%, 18%)
CIE-LABlab(81.37, -17.52, 58.03)
CIE-LCHlch(81.37, 60.62, 106.80°)
OKLaboklab(83.33% -0.0522 0.1338)
OKLCHoklch(83.33% 0.144 111.3)
XYZxyz(49.4650, 59.1440, 18.0408)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD158 #5D58D1
analogous
#D19958 #CCD158 #8FD158
triadic
#CCD158 #58CCD1 #D158CC
tetradic
#CCD158 #58D199 #5D58D1 #D1588F
square
#CCD158 #58D199 #5D58D1 #D1588F
split-complementary
#CCD158 #588FD1 #9958D1
monochromatic
#858926 #B3B933 #CCD158 #DBDE88 #E9EBB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD158#FFFFFF#000000##000000
##CCD1581.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)
#E0C84B
Deuteranopia (green-blind)
#E0CC5F
Tritanopia (blue-blind)
#D9C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd158;
/* rgb */ color: rgb(204, 209, 88);
/* oklch */ color: oklch(83.3% 0.144 111.3);
Tailwind
colors: {
  custom: {
    50: '#dede8c',
    500: '#ccd158',
    950: '#000000',
  },
}
SCSS
$custom: #ccd158;
$custom-light: #dede8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd158",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 62.479,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83334,
    "c": 0.14361,
    "h": 111.3
  },
  "luminance": 0.59143
}

Semantic roles & 50–950 ramp

primary
#CCD158
secondary
#413E8F
accent
#48E04E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD158

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

Preview Lab → · Contrast checker → · Palette generator →

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