#D2CD5D#D2CD5D

#D2CD5D is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.134 H 106.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D2CD5D
RGBrgb(210, 205, 93)
HSLhsl(57, 57%, 59%)
HSVhsv(57, 56%, 82%)
CMYKcmyk(0%, 2.4%, 55.7%, 17.6%)
CIE-LABlab(80.83, -12.69, 55.33)
CIE-LCHlch(80.83, 56.76, 102.91°)
OKLaboklab(83.03% -0.0383 0.1285)
OKLCHoklch(83.03% 0.134 106.6)
XYZxyz(50.3869, 58.1561, 18.9248)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD5D #5D62D2
analogous
#D2935D #D2CD5D #9DD25D
triadic
#D2CD5D #5DD2CD #CD5DD2
tetradic
#D2CD5D #5DD293 #5D62D2 #D25D9D
square
#D2CD5D #5DD293 #5D62D2 #D25D9D
split-complementary
#D2CD5D #5D9DD2 #935DD2
monochromatic
#8D8927 #BDB735 #D2CD5D #DFDC8D #EDEBBD

Accessibility & contrast

On white

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

On black

12.63
#D2CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD5D
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD5D#FFFFFF#000000##000000
##D2CD5D1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd5d;
/* rgb */ color: rgb(210, 205, 93);
/* oklch */ color: oklch(83.0% 0.134 106.6);
Tailwind
colors: {
  custom: {
    50: '#e2dc8e',
    500: '#d2cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd5d;
$custom-light: #e2dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd5d",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 57.436,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83031,
    "c": 0.13407,
    "h": 106.6
  },
  "luminance": 0.58155
}

Semantic roles & 50–950 ramp

primary
#D2CD5D
secondary
#404393
accent
#4EE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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