#D0CD4F#D0CD4F

#D0CD4F is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.146 H 107.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D0CD4F
RGBrgb(208, 205, 79)
HSLhsl(59, 58%, 56%)
HSVhsv(59, 62%, 82%)
CMYKcmyk(0%, 1.4%, 62%, 18.4%)
CIE-LABlab(80.54, -14.49, 61.07)
CIE-LCHlch(80.54, 62.76, 103.35°)
OKLaboklab(82.72% -0.0449 0.1389)
OKLCHoklch(82.72% 0.146 107.9)
XYZxyz(49.2566, 57.6385, 15.9263)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD4F #4F52D0
analogous
#D08D4F #D0CD4F #93D04F
triadic
#D0CD4F #4FD0CD #CD4FD0
tetradic
#D0CD4F #4FD08D #4F52D0 #D04F93
square
#D0CD4F #4FD08D #4F52D0 #D04F93
split-complementary
#D0CD4F #4F93D0 #8D4FD0
monochromatic
#828023 #B2AF30 #D0CD4F #DDDB7F #EAE8B0

Accessibility & contrast

On white

1.68
#D0CD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D0CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD4F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD4F#FFFFFF#000000##000000
##D0CD4F1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53F
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#DEC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d0cd4f;
/* rgb */ color: rgb(208, 205, 79);
/* oklch */ color: oklch(82.7% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#e1dc86',
    500: '#d0cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd4f;
$custom-light: #e1dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd4f",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 58.605,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82722,
    "c": 0.14599,
    "h": 107.9
  },
  "luminance": 0.57637
}

Semantic roles & 50–950 ramp

primary
#D0CD4F
secondary
#3A3C89
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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