#D0CD5F#D0CD5F

#D0CD5F is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.132 H 107.5°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D0CD5F
RGBrgb(208, 205, 95)
HSLhsl(58, 55%, 59%)
HSVhsv(58, 54%, 82%)
CMYKcmyk(0%, 1.4%, 54.3%, 18.4%)
CIE-LABlab(80.68, -13.35, 54.21)
CIE-LCHlch(80.68, 55.83, 103.84°)
OKLaboklab(82.89% -0.0399 0.1263)
OKLCHoklch(82.89% 0.132 107.5)
XYZxyz(49.9107, 57.9002, 19.3710)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD5F #5F62D0
analogous
#D0955F #D0CD5F #9BD05F
triadic
#D0CD5F #5FD0CD #CD5FD0
tetradic
#D0CD5F #5FD095 #5F62D0 #D05F9B
square
#D0CD5F #5FD095 #5F62D0 #D05F9B
split-complementary
#D0CD5F #5F9BD0 #955FD0
monochromatic
#8C8929 #BBB737 #D0CD5F #DEDC8E #ECEBBE

Accessibility & contrast

On white

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

On black

12.58
#D0CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD5F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD5F#FFFFFF#000000##000000
##D0CD5F1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#DDC1B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d0cd5f;
/* rgb */ color: rgb(208, 205, 95);
/* oklch */ color: oklch(82.9% 0.132 107.5);
Tailwind
colors: {
  custom: {
    50: '#e1dc90',
    500: '#d0cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd5f;
$custom-light: #e1dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd5f",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 58.407,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82885,
    "c": 0.13249,
    "h": 107.5
  },
  "luminance": 0.57899
}

Semantic roles & 50–950 ramp

primary
#D0CD5F
secondary
#414392
accent
#4EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D0CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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