#D9B339#D9B339

#D9B339 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 78.0% C 0.141 H 90.9°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#D9B339
RGBrgb(217, 179, 57)
HSLhsl(46, 68%, 54%)
HSVhsv(46, 74%, 85%)
CMYKcmyk(0%, 17.5%, 73.7%, 14.9%)
CIE-LABlab(74.37, 1.52, 63.81)
CIE-LCHlch(74.37, 63.82, 88.63°)
OKLaboklab(77.97% -0.0022 0.1407)
OKLCHoklch(77.97% 0.141 90.9)
XYZxyz(45.4765, 47.2901, 10.6027)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B339 #395FD9
analogous
#D96339 #D9B339 #AFD939
triadic
#D9B339 #39D9B3 #B339D9
tetradic
#D9B339 #39D963 #395FD9 #D939AF
square
#D9B339 #39D963 #395FD9 #D939AF
split-complementary
#D9B339 #39AFD9 #6339D9
monochromatic
#7F6718 #B39022 #D9B339 #E3C76C #EDDAA0

Accessibility & contrast

On white

2.01
#D9B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#D9B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B339
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B339#FFFFFF#000000##000000
##D9B3391.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B125
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#EBA49B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d9b339;
/* rgb */ color: rgb(217, 179, 57);
/* oklch */ color: oklch(78.0% 0.141 90.9);
Tailwind
colors: {
  custom: {
    50: '#e9c977',
    500: '#d9b339',
    950: '#000000',
  },
}
SCSS
$custom: #d9b339;
$custom-light: #e9c977;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b339",
  "rgb": {
    "r": 217,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 45.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.14075,
    "h": 90.9
  },
  "luminance": 0.47287
}

Semantic roles & 50–950 ramp

primary
#D9B339
secondary
#95A5D9
accent
#66EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B339

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

Preview Lab → · Contrast checker → · Palette generator →

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