#D9B439#D9B439

#D9B439 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.2% C 0.141 H 91.5°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D9B439
RGBrgb(217, 180, 57)
HSLhsl(46, 68%, 54%)
HSVhsv(46, 74%, 85%)
CMYKcmyk(0%, 17.1%, 73.7%, 14.9%)
CIE-LABlab(74.63, 1.00, 64.05)
CIE-LCHlch(74.63, 64.06, 89.11°)
OKLaboklab(78.18% -0.0037 0.1412)
OKLCHoklch(78.18% 0.141 91.5)
XYZxyz(45.6776, 47.6924, 10.6698)
Luminance0.4769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B439 #395ED9
analogous
#D96439 #D9B439 #AED939
triadic
#D9B439 #39D9B4 #B439D9
tetradic
#D9B439 #39D964 #395ED9 #D939AE
square
#D9B439 #39D964 #395ED9 #D939AE
split-complementary
#D9B439 #39AED9 #6439D9
monochromatic
#7F6718 #B39122 #D9B439 #E3C76C #EDDBA0

Accessibility & contrast

On white

1.99
#D9B439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D9B439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B439
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B439#FFFFFF#000000##000000
##D9B4391.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B125
Deuteranopia (green-blind)
#D1BC40
Tritanopia (blue-blind)
#EBA59C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b439;
/* rgb */ color: rgb(217, 180, 57);
/* oklch */ color: oklch(78.2% 0.141 91.5);
Tailwind
colors: {
  custom: {
    50: '#e9ca78',
    500: '#d9b439',
    950: '#000000',
  },
}
SCSS
$custom: #d9b439;
$custom-light: #e9ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b439",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 57
  },
  "hsl": {
    "h": 46.125,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78175,
    "c": 0.1413,
    "h": 91.5
  },
  "luminance": 0.4769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B439

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

Preview Lab → · Contrast checker → · Palette generator →

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