#D9C85D#D9C85D

#D9C85D is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.129 H 100.4°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D9C85D
RGBrgb(217, 200, 93)
HSLhsl(52, 62%, 61%)
HSVhsv(52, 57%, 85%)
CMYKcmyk(0%, 7.8%, 57.1%, 14.9%)
CIE-LABlab(80.10, -7.25, 54.66)
CIE-LCHlch(80.10, 55.14, 97.56°)
OKLaboklab(82.59% -0.0232 0.1269)
OKLCHoklch(82.59% 0.129 100.4)
XYZxyz(51.2472, 56.8526, 18.6280)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C85D #5D6ED9
analogous
#D98A5D #D9C85D #ACD95D
triadic
#D9C85D #5DD9C8 #C85DD9
tetradic
#D9C85D #5DD98A #5D6ED9 #D95DAC
square
#D9C85D #5DD98A #5D6ED9 #D95DAC
split-complementary
#D9C85D #5DACD9 #8A5DD9
monochromatic
#988824 #CAB42F #D9C85D #E5D98F #F0EAC0

Accessibility & contrast

On white

1.70
#D9C85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#D9C85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C85D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C85D#FFFFFF#000000##000000
##D9C85D1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#E8BBB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c85d;
/* rgb */ color: rgb(217, 200, 93);
/* oklch */ color: oklch(82.6% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#e7d88e',
    500: '#d9c85d',
    950: '#000000',
  },
}
SCSS
$custom: #d9c85d;
$custom-light: #e7d88e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c85d",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 51.774,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82594,
    "c": 0.129,
    "h": 100.4
  },
  "luminance": 0.56851
}

Semantic roles & 50–950 ramp

primary
#D9C85D
secondary
#3E4B9C
accent
#34CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C85D

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

Preview Lab → · Contrast checker → · Palette generator →

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