#D9C85E#D9C85E

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

Color values

HEX#D9C85E
RGBrgb(217, 200, 94)
HSLhsl(52, 62%, 61%)
HSVhsv(52, 57%, 85%)
CMYKcmyk(0%, 7.8%, 56.7%, 14.9%)
CIE-LABlab(80.11, -7.18, 54.21)
CIE-LCHlch(80.11, 54.68, 97.54°)
OKLaboklab(82.6% -0.0229 0.126)
OKLCHoklch(82.6% 0.128 100.3)
XYZxyz(51.2918, 56.8704, 18.8628)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C85E #5E6FD9
analogous
#D98A5E #D9C85E #ACD95E
triadic
#D9C85E #5ED9C8 #C85ED9
tetradic
#D9C85E #5ED98A #5E6FD9 #D95EAC
square
#D9C85E #5ED98A #5E6FD9 #D95EAC
split-complementary
#D9C85E #5EACD9 #8A5ED9
monochromatic
#998824 #CAB530 #D9C85E #E5D990 #F0EAC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C85E#FFFFFF#000000##000000
##D9C85E1.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)
#D9C353
Deuteranopia (green-blind)
#DDCA63
Tritanopia (blue-blind)
#E8BBB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c85e;
/* rgb */ color: rgb(217, 200, 94);
/* oklch */ color: oklch(82.6% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#e7d88f',
    500: '#d9c85e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c85e;
$custom-light: #e7d88f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c85e",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 51.707,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82605,
    "c": 0.12811,
    "h": 100.3
  },
  "luminance": 0.56868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C85E

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

Preview Lab → · Contrast checker → · Palette generator →

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