#D2CD5B#D2CD5B

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

Color values

HEX#D2CD5B
RGBrgb(210, 205, 91)
HSLhsl(57, 57%, 59%)
HSVhsv(57, 57%, 82%)
CMYKcmyk(0%, 2.4%, 56.7%, 17.6%)
CIE-LABlab(80.81, -12.84, 56.21)
CIE-LCHlch(80.81, 57.65, 102.86°)
OKLaboklab(83.01% -0.039 0.1301)
OKLCHoklch(83.01% 0.136 106.7)
XYZxyz(50.2995, 58.1211, 18.4644)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD5B #5B60D2
analogous
#D2925B #D2CD5B #9CD25B
triadic
#D2CD5B #5BD2CD #CD5BD2
tetradic
#D2CD5B #5BD292 #5B60D2 #D25B9C
square
#D2CD5B #5BD292 #5B60D2 #D25B9C
split-complementary
#D2CD5B #5B9CD2 #925BD2
monochromatic
#8C8826 #BCB634 #D2CD5B #DFDC8B #ECEABB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD5B#FFFFFF#000000##000000
##D2CD5B1.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)
#DCC64F
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#E0C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd5b;
/* rgb */ color: rgb(210, 205, 91);
/* oklch */ color: oklch(83.0% 0.136 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2dc8d',
    500: '#d2cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd5b;
$custom-light: #e2dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd5b",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 57.479,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8301,
    "c": 0.13584,
    "h": 106.7
  },
  "luminance": 0.5812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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