#D2CD5C#D2CD5C

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

Color values

HEX#D2CD5C
RGBrgb(210, 205, 92)
HSLhsl(57, 57%, 59%)
HSVhsv(57, 56%, 82%)
CMYKcmyk(0%, 2.4%, 56.2%, 17.6%)
CIE-LABlab(80.82, -12.76, 55.77)
CIE-LCHlch(80.82, 57.21, 102.89°)
OKLaboklab(83.02% -0.0387 0.1293)
OKLCHoklch(83.02% 0.135 106.7)
XYZxyz(50.3429, 58.1385, 18.6931)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD5C #5C61D2
analogous
#D2925C #D2CD5C #9CD25C
triadic
#D2CD5C #5CD2CD #CD5CD2
tetradic
#D2CD5C #5CD292 #5C61D2 #D25C9C
square
#D2CD5C #5CD292 #5C61D2 #D25C9C
split-complementary
#D2CD5C #5C9CD2 #925CD2
monochromatic
#8D8827 #BDB734 #D2CD5C #DFDC8C #ECEABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD5C#FFFFFF#000000##000000
##D2CD5C1.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)
#DCC650
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#E0C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd5c;
/* rgb */ color: rgb(210, 205, 92);
/* oklch */ color: oklch(83.0% 0.135 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2dc8e',
    500: '#d2cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd5c;
$custom-light: #e2dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd5c",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 57.458,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83021,
    "c": 0.13495,
    "h": 106.7
  },
  "luminance": 0.58137
}

Semantic roles & 50–950 ramp

primary
#D2CD5C
secondary
#3F4393
accent
#4EE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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