#D9B74B#D9B74B

#D9B74B is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.9% C 0.131 H 91.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#D9B74B
RGBrgb(217, 183, 75)
HSLhsl(46, 65%, 57%)
HSVhsv(46, 65%, 85%)
CMYKcmyk(0%, 15.7%, 65.4%, 14.9%)
CIE-LABlab(75.53, 0.35, 57.66)
CIE-LCHlch(75.53, 57.66, 89.65°)
OKLaboklab(78.93% -0.0035 0.1309)
OKLCHoklch(78.93% 0.131 91.5)
XYZxyz(46.8211, 49.1293, 13.6720)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B74B #4B6DD9
analogous
#D9704B #D9B74B #B4D94B
triadic
#D9B74B #4BD9B7 #B74BD9
tetradic
#D9B74B #4BD970 #4B6DD9 #D94BB4
square
#D9B74B #4BD970 #4B6DD9 #D94BB4
split-complementary
#D9B74B #4BB4D9 #704BD9
monochromatic
#8C721E #BF9B28 #D9B74B #E4CB7E #EEDFB0

Accessibility & contrast

On white

1.94
#D9B74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#D9B74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B74B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B74B#FFFFFF#000000##000000
##D9B74B1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43E
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#EAA9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b74b;
/* rgb */ color: rgb(217, 183, 75);
/* oklch */ color: oklch(78.9% 0.131 91.5);
Tailwind
colors: {
  custom: {
    50: '#e8cc82',
    500: '#d9b74b',
    950: '#000000',
  },
}
SCSS
$custom: #d9b74b;
$custom-light: #e8cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b74b",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 45.634,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78928,
    "c": 0.13092,
    "h": 91.5
  },
  "luminance": 0.49127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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