#CDCC59#CDCC59

#CDCC59 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.137 H 108.6°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDCC59
RGBrgb(205, 204, 89)
HSLhsl(59, 54%, 58%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 0.5%, 56.6%, 19.6%)
CIE-LABlab(80.12, -14.54, 56.21)
CIE-LCHlch(80.12, 58.06, 104.50°)
OKLaboklab(82.36% -0.0438 0.13)
OKLCHoklch(82.36% 0.137 108.6)
XYZxyz(48.5743, 56.8875, 17.8709)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC59 #595ACD
analogous
#CD9259 #CDCC59 #94CD59
triadic
#CDCC59 #59CDCC #CC59CD
tetradic
#CDCC59 #59CD92 #595ACD #CD5994
square
#CDCC59 #59CD92 #595ACD #CD5994
split-complementary
#CDCC59 #5994CD #9259CD
monochromatic
#848328 #B3B236 #CDCC59 #DBDA88 #E9E9B7

Accessibility & contrast

On white

1.70
#CDCC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CDCC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC59
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC59#FFFFFF#000000##000000
##CDCC591.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44D
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#DAC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc59;
/* rgb */ color: rgb(205, 204, 89);
/* oklch */ color: oklch(82.4% 0.137 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdb8c',
    500: '#cdcc59',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc59;
$custom-light: #dfdb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc59",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 59.483,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82356,
    "c": 0.13717,
    "h": 108.6
  },
  "luminance": 0.56886
}

Semantic roles & 50–950 ramp

primary
#CDCC59
secondary
#3F408B
accent
#4CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDCC59

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

Preview Lab → · Contrast checker → · Palette generator →

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