#D2CD59#D2CD59

#D2CD59 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.138 H 106.7°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D2CD59
RGBrgb(210, 205, 89)
HSLhsl(58, 57%, 59%)
HSVhsv(58, 58%, 82%)
CMYKcmyk(0%, 2.4%, 57.6%, 17.6%)
CIE-LABlab(80.79, -12.98, 57.08)
CIE-LCHlch(80.79, 58.53, 102.81°)
OKLaboklab(82.99% -0.0396 0.1317)
OKLCHoklch(82.99% 0.138 106.7)
XYZxyz(50.2144, 58.0871, 18.0161)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD59 #595ED2
analogous
#D29059 #D2CD59 #9AD259
triadic
#D2CD59 #59D2CD #CD59D2
tetradic
#D2CD59 #59D290 #595ED2 #D2599A
square
#D2CD59 #59D290 #595ED2 #D2599A
split-complementary
#D2CD59 #599AD2 #9059D2
monochromatic
#8B8726 #BBB533 #D2CD59 #DFDC89 #ECEAB9

Accessibility & contrast

On white

1.66
#D2CD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D2CD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD59
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD59#FFFFFF#000000##000000
##D2CD591.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64C
Deuteranopia (green-blind)
#DFCB5F
Tritanopia (blue-blind)
#E0C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd59;
/* rgb */ color: rgb(210, 205, 89);
/* oklch */ color: oklch(83.0% 0.138 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2dc8c',
    500: '#d2cd59',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd59;
$custom-light: #e2dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd59",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 57.521,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82989,
    "c": 0.13756,
    "h": 106.7
  },
  "luminance": 0.58086
}

Semantic roles & 50–950 ramp

primary
#D2CD59
secondary
#3E4191
accent
#4EE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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