#D9B64B#D9B64B

#D9B64B is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.7% C 0.130 H 90.9°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D9B64B
RGBrgb(217, 182, 75)
HSLhsl(45, 65%, 57%)
HSVhsv(45, 65%, 85%)
CMYKcmyk(0%, 16.1%, 65.4%, 14.9%)
CIE-LABlab(75.28, 0.88, 57.39)
CIE-LCHlch(75.28, 57.40, 89.12°)
OKLaboklab(78.73% -0.002 0.1303)
OKLCHoklch(78.73% 0.13 90.9)
XYZxyz(46.6156, 48.7183, 13.6035)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B64B #4B6ED9
analogous
#D96F4B #D9B64B #B5D94B
triadic
#D9B64B #4BD9B6 #B64BD9
tetradic
#D9B64B #4BD96F #4B6ED9 #D94BB5
square
#D9B64B #4BD96F #4B6ED9 #D94BB5
split-complementary
#D9B64B #4BB5D9 #6F4BD9
monochromatic
#8C711E #BF9A28 #D9B64B #E4CA7E #EEDFB0

Accessibility & contrast

On white

1.95
#D9B64B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#D9B64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B64B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B64B#FFFFFF#000000##000000
##D9B64B1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43E
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#EAA89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d9b64b;
/* rgb */ color: rgb(217, 182, 75);
/* oklch */ color: oklch(78.7% 0.130 90.9);
Tailwind
colors: {
  custom: {
    50: '#e8cb82',
    500: '#d9b64b',
    950: '#000000',
  },
}
SCSS
$custom: #d9b64b;
$custom-light: #e8cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b64b",
  "rgb": {
    "r": 217,
    "g": 182,
    "b": 75
  },
  "hsl": {
    "h": 45.211,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78726,
    "c": 0.13031,
    "h": 90.9
  },
  "luminance": 0.48716
}

Semantic roles & 50–950 ramp

primary
#D9B64B
secondary
#A3B1DD
accent
#69E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D9B64B

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

Preview Lab → · Contrast checker → · Palette generator →

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