#D0CD5A#D0CD5A

#D0CD5A is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.137 H 107.7°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D0CD5A
RGBrgb(208, 205, 90)
HSLhsl(58, 56%, 58%)
HSVhsv(58, 57%, 82%)
CMYKcmyk(0%, 1.4%, 56.7%, 18.4%)
CIE-LABlab(80.63, -13.73, 56.42)
CIE-LCHlch(80.63, 58.06, 103.68°)
OKLaboklab(82.83% -0.0415 0.1305)
OKLCHoklch(82.83% 0.137 107.7)
XYZxyz(49.6907, 57.8121, 18.2122)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD5A #5A5DD0
analogous
#D0925A #D0CD5A #98D05A
triadic
#D0CD5A #5AD0CD #CD5AD0
tetradic
#D0CD5A #5AD092 #5A5DD0 #D05A98
square
#D0CD5A #5AD092 #5A5DD0 #D05A98
split-complementary
#D0CD5A #5A98D0 #925AD0
monochromatic
#898627 #B8B534 #D0CD5A #DEDB8A #EBEAB9

Accessibility & contrast

On white

1.67
#D0CD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#D0CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD5A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD5A#FFFFFF#000000##000000
##D0CD5A1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64E
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#DEC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d0cd5a;
/* rgb */ color: rgb(208, 205, 90);
/* oklch */ color: oklch(82.8% 0.137 107.7);
Tailwind
colors: {
  custom: {
    50: '#e1dc8d',
    500: '#d0cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd5a;
$custom-light: #e1dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd5a",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 58.475,
    "s": 55.66,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8283,
    "c": 0.13694,
    "h": 107.7
  },
  "luminance": 0.57811
}

Semantic roles & 50–950 ramp

primary
#D0CD5A
secondary
#3F418F
accent
#4DDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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