#D2CD5E#D2CD5E

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

Color values

HEX#D2CD5E
RGBrgb(210, 205, 94)
HSLhsl(57, 56%, 60%)
HSVhsv(57, 55%, 82%)
CMYKcmyk(0%, 2.4%, 55.2%, 17.6%)
CIE-LABlab(80.84, -12.61, 54.88)
CIE-LCHlch(80.84, 56.31, 102.94°)
OKLaboklab(83.04% -0.038 0.1276)
OKLCHoklch(83.04% 0.133 106.6)
XYZxyz(50.4315, 58.1739, 19.1596)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD5E #5E63D2
analogous
#D2935E #D2CD5E #9DD25E
triadic
#D2CD5E #5ED2CD #CD5ED2
tetradic
#D2CD5E #5ED293 #5E63D2 #D25E9D
square
#D2CD5E #5ED293 #5E63D2 #D25E9D
split-complementary
#D2CD5E #5E9DD2 #935ED2
monochromatic
#8E8A28 #BEB835 #D2CD5E #DFDC8E #EDEBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD5E#FFFFFF#000000##000000
##D2CD5E1.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)
#DCC653
Deuteranopia (green-blind)
#DFCB64
Tritanopia (blue-blind)
#E0C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd5e;
/* rgb */ color: rgb(210, 205, 94);
/* oklch */ color: oklch(83.0% 0.133 106.6);
Tailwind
colors: {
  custom: {
    50: '#e2dc8f',
    500: '#d2cd5e',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd5e;
$custom-light: #e2dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd5e",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 57.414,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83042,
    "c": 0.13318,
    "h": 106.6
  },
  "luminance": 0.58172
}

Semantic roles & 50–950 ramp

primary
#D2CD5E
secondary
#404494
accent
#4FE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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