#CDD159#CDD159

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

Color values

HEX#CDD159
RGBrgb(205, 209, 89)
HSLhsl(62, 57%, 58%)
HSVhsv(62, 57%, 82%)
CMYKcmyk(1.9%, 0%, 57.4%, 18%)
CIE-LABlab(81.46, -17.04, 57.71)
CIE-LCHlch(81.46, 60.17, 106.45°)
OKLaboklab(83.43% -0.0508 0.1332)
OKLCHoklch(83.43% 0.143 110.9)
XYZxyz(49.7818, 59.3025, 18.2734)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD159 #5D59D1
analogous
#D19959 #CDD159 #91D159
triadic
#CDD159 #59CDD1 #D159CD
tetradic
#CDD159 #59D199 #5D59D1 #D15991
square
#CDD159 #59D199 #5D59D1 #D15991
split-complementary
#CDD159 #5991D1 #9959D1
monochromatic
#868926 #B5B933 #CDD159 #DBDE89 #EAECB9

Accessibility & contrast

On white

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

On black

12.86
#CDD159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD159
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD159#FFFFFF#000000##000000
##CDD1591.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94C
Deuteranopia (green-blind)
#E1CC60
Tritanopia (blue-blind)
#DAC5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd159;
/* rgb */ color: rgb(205, 209, 89);
/* oklch */ color: oklch(83.4% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#dfde8c',
    500: '#cdd159',
    950: '#000000',
  },
}
SCSS
$custom: #cdd159;
$custom-light: #dfde8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd159",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 62,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83426,
    "c": 0.14256,
    "h": 110.9
  },
  "luminance": 0.59301
}

Semantic roles & 50–950 ramp

primary
#CDD159
secondary
#413E90
accent
#48E04D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDD159

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

Preview Lab → · Contrast checker → · Palette generator →

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