#D9B855#D9B855

#D9B855 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.124 H 90.9°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#D9B855
RGBrgb(217, 184, 85)
HSLhsl(45, 63%, 59%)
HSVhsv(45, 61%, 85%)
CMYKcmyk(0%, 15.2%, 60.8%, 14.9%)
CIE-LABlab(75.88, 0.47, 53.56)
CIE-LCHlch(75.88, 53.57, 89.50°)
OKLaboklab(79.23% -0.0019 0.1236)
OKLCHoklch(79.23% 0.124 90.9)
XYZxyz(47.3977, 49.6911, 15.6874)
Luminance0.4969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B855 #5576D9
analogous
#D97655 #D9B855 #B8D955
triadic
#D9B855 #55D9B8 #B855D9
tetradic
#D9B855 #55D976 #5576D9 #D955B8
square
#D9B855 #55D976 #5576D9 #D955B8
split-complementary
#D9B855 #55B8D9 #7655D9
monochromatic
#937621 #C59F2C #D9B855 #E4CD87 #EFE2B9

Accessibility & contrast

On white

1.92
#D9B855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#D9B855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B855
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B855#FFFFFF#000000##000000
##D9B8551.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64B
Deuteranopia (green-blind)
#D2BF59
Tritanopia (blue-blind)
#E9ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b855;
/* rgb */ color: rgb(217, 184, 85);
/* oklch */ color: oklch(79.2% 0.124 90.9);
Tailwind
colors: {
  custom: {
    50: '#e8cd88',
    500: '#d9b855',
    950: '#000000',
  },
}
SCSS
$custom: #d9b855;
$custom-light: #e8cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b855",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 45,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79232,
    "c": 0.12358,
    "h": 90.9
  },
  "luminance": 0.49689
}

Semantic roles & 50–950 ramp

primary
#D9B855
secondary
#ABB8DF
accent
#6BE641
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D9B855

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

Preview Lab → · Contrast checker → · Palette generator →

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