#D9BB39#D9BB39

#D9BB39 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.146 H 95.6°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#D9BB39
RGBrgb(217, 187, 57)
HSLhsl(49, 68%, 54%)
HSVhsv(49, 74%, 85%)
CMYKcmyk(0%, 13.8%, 73.7%, 14.9%)
CIE-LABlab(76.43, -2.66, 65.78)
CIE-LCHlch(76.43, 65.84, 92.32°)
OKLaboklab(79.6% -0.0142 0.1449)
OKLCHoklch(79.6% 0.146 95.6)
XYZxyz(47.1266, 50.5903, 11.1528)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB39 #3957D9
analogous
#D96B39 #D9BB39 #A7D939
triadic
#D9BB39 #39D9BB #BB39D9
tetradic
#D9BB39 #39D96B #3957D9 #D939A7
square
#D9BB39 #39D96B #3957D9 #D939A7
split-complementary
#D9BB39 #39A7D9 #6B39D9
monochromatic
#7F6C18 #B39722 #D9BB39 #E3CD6C #EDDEA0

Accessibility & contrast

On white

1.89
#D9BB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#D9BB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB39
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB39#FFFFFF#000000##000000
##D9BB391.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB723
Deuteranopia (green-blind)
#D6C141
Tritanopia (blue-blind)
#EAACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9bb39;
/* rgb */ color: rgb(217, 187, 57);
/* oklch */ color: oklch(79.6% 0.146 95.6);
Tailwind
colors: {
  custom: {
    50: '#e9cf78',
    500: '#d9bb39',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb39;
$custom-light: #e9cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb39",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 48.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79597,
    "c": 0.14562,
    "h": 95.6
  },
  "luminance": 0.50588
}

Semantic roles & 50–950 ramp

primary
#D9BB39
secondary
#304086
accent
#5EEB3D
background
#FFFEFB
surface
#FEFAF1
border
#D6D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #D9BB39

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

Preview Lab → · Contrast checker → · Palette generator →

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