#CCD059#CCD059

#CCD059 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.1% C 0.142 H 110.9°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CCD059
RGBrgb(204, 208, 89)
HSLhsl(62, 56%, 58%)
HSVhsv(62, 57%, 82%)
CMYKcmyk(1.9%, 0%, 57.2%, 18.4%)
CIE-LABlab(81.11, -16.95, 57.30)
CIE-LCHlch(81.11, 59.76, 106.48°)
OKLaboklab(83.13% -0.0505 0.1323)
OKLCHoklch(83.13% 0.142 110.9)
XYZxyz(49.2622, 58.6715, 18.1790)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD059 #5D59D0
analogous
#D09859 #CCD059 #90D059
triadic
#CCD059 #59CCD0 #D059CC
tetradic
#CCD059 #59D098 #5D59D0 #D05990
square
#CCD059 #59D098 #5D59D0 #D05990
split-complementary
#CCD059 #5990D0 #9859D0
monochromatic
#858827 #B3B834 #CCD059 #DBDE89 #E9EBB8

Accessibility & contrast

On white

1.65
#CCD059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CCD059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD059
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD059#FFFFFF#000000##000000
##CCD0591.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#E0CB60
Tritanopia (blue-blind)
#D9C4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd059;
/* rgb */ color: rgb(204, 208, 89);
/* oklch */ color: oklch(83.1% 0.142 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede8c',
    500: '#ccd059',
    950: '#000000',
  },
}
SCSS
$custom: #ccd059;
$custom-light: #dede8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd059",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 89
  },
  "hsl": {
    "h": 62.017,
    "s": 55.869,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8313,
    "c": 0.14166,
    "h": 110.9
  },
  "luminance": 0.5867
}

Semantic roles & 50–950 ramp

primary
#CCD059
secondary
#413E8F
accent
#49DF4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD059

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

Preview Lab → · Contrast checker → · Palette generator →

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