#D9C85B#D9C85B

#D9C85B is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.131 H 100.5°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#D9C85B
RGBrgb(217, 200, 91)
HSLhsl(52, 62%, 60%)
HSVhsv(52, 58%, 85%)
CMYKcmyk(0%, 7.8%, 58.1%, 14.9%)
CIE-LABlab(80.08, -7.40, 55.54)
CIE-LCHlch(80.08, 56.04, 97.59°)
OKLaboklab(82.57% -0.0239 0.1286)
OKLCHoklch(82.57% 0.131 100.5)
XYZxyz(51.1598, 56.8176, 18.1676)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C85B #5B6CD9
analogous
#D9895B #D9C85B #ABD95B
triadic
#D9C85B #5BD9C8 #C85BD9
tetradic
#D9C85B #5BD989 #5B6CD9 #D95BAB
square
#D9C85B #5BD989 #5B6CD9 #D95BAB
split-complementary
#D9C85B #5BABD9 #895BD9
monochromatic
#978723 #C8B42E #D9C85B #E5D98D #F0E9BE

Accessibility & contrast

On white

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

On black

12.36
#D9C85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C85B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C85B#FFFFFF#000000##000000
##D9C85B1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c85b;
/* rgb */ color: rgb(217, 200, 91);
/* oklch */ color: oklch(82.6% 0.131 100.5);
Tailwind
colors: {
  custom: {
    50: '#e7d88d',
    500: '#d9c85b',
    950: '#000000',
  },
}
SCSS
$custom: #d9c85b;
$custom-light: #e7d88d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c85b",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 51.905,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82572,
    "c": 0.13075,
    "h": 100.5
  },
  "luminance": 0.56816
}

Semantic roles & 50–950 ramp

primary
#D9C85B
secondary
#3D4A9B
accent
#33CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C85B

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

Preview Lab → · Contrast checker → · Palette generator →

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