#CDD259#CDD259

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

Color values

HEX#CDD259
RGBrgb(205, 210, 89)
HSLhsl(62, 57%, 59%)
HSVhsv(62, 58%, 82%)
CMYKcmyk(2.4%, 0%, 57.6%, 17.6%)
CIE-LABlab(81.73, -17.53, 58.01)
CIE-LCHlch(81.73, 60.60, 106.82°)
OKLaboklab(83.64% -0.0522 0.1338)
OKLCHoklch(83.64% 0.144 111.3)
XYZxyz(50.0279, 59.7947, 18.3554)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD259 #5E59D2
analogous
#D29A59 #CDD259 #90D259
triadic
#CDD259 #59CDD2 #D259CD
tetradic
#CDD259 #59D29A #5E59D2 #D25990
square
#CDD259 #59D29A #5E59D2 #D25990
split-complementary
#CDD259 #5990D2 #9A59D2
monochromatic
#878B26 #B5BB33 #CDD259 #DCDF89 #EAECB9

Accessibility & contrast

On white

1.62
#CDD259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CDD259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD259
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD259#FFFFFF#000000##000000
##CDD2591.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94C
Deuteranopia (green-blind)
#E1CD60
Tritanopia (blue-blind)
#DAC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd259;
/* rgb */ color: rgb(205, 210, 89);
/* oklch */ color: oklch(83.6% 0.144 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf8c',
    500: '#cdd259',
    950: '#000000',
  },
}
SCSS
$custom: #cdd259;
$custom-light: #dfdf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd259",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 62.479,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83641,
    "c": 0.14366,
    "h": 111.3
  },
  "luminance": 0.59794
}

Semantic roles & 50–950 ramp

primary
#CDD259
secondary
#413E91
accent
#47E14E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDD259

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

Preview Lab → · Contrast checker → · Palette generator →

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