#D9C85A#D9C85A

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

Color values

HEX#D9C85A
RGBrgb(217, 200, 90)
HSLhsl(52, 63%, 60%)
HSVhsv(52, 59%, 85%)
CMYKcmyk(0%, 7.8%, 58.5%, 14.9%)
CIE-LABlab(80.07, -7.47, 55.99)
CIE-LCHlch(80.07, 56.48, 97.60°)
OKLaboklab(82.56% -0.0242 0.1294)
OKLCHoklch(82.56% 0.132 100.6)
XYZxyz(51.1169, 56.8005, 17.9419)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C85A #5A6BD9
analogous
#D9895A #D9C85A #AAD95A
triadic
#D9C85A #5AD9C8 #C85AD9
tetradic
#D9C85A #5AD989 #5A6BD9 #D95AAA
square
#D9C85A #5AD989 #5A6BD9 #D95AAA
split-complementary
#D9C85A #5AAAD9 #895AD9
monochromatic
#968723 #C8B32E #D9C85A #E4D98C #F0E9BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C85A#FFFFFF#000000##000000
##D9C85A1.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)
#D9C34E
Deuteranopia (green-blind)
#DECA5F
Tritanopia (blue-blind)
#E8BBB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c85a;
/* rgb */ color: rgb(217, 200, 90);
/* oklch */ color: oklch(82.6% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#e7d88c',
    500: '#d9c85a',
    950: '#000000',
  },
}
SCSS
$custom: #d9c85a;
$custom-light: #e7d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c85a",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 51.969,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82561,
    "c": 0.13163,
    "h": 100.6
  },
  "luminance": 0.56798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C85A

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

Preview Lab → · Contrast checker → · Palette generator →

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