#D9BB57#D9BB57

#D9BB57 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.9% C 0.124 H 92.7°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#D9BB57
RGBrgb(217, 187, 87)
HSLhsl(46, 63%, 60%)
HSVhsv(46, 60%, 85%)
CMYKcmyk(0%, 13.8%, 59.9%, 14.9%)
CIE-LABlab(76.67, -0.96, 53.53)
CIE-LCHlch(76.67, 53.54, 91.03°)
OKLaboklab(79.86% -0.0058 0.1238)
OKLCHoklch(79.86% 0.124 92.7)
XYZxyz(48.1080, 50.9829, 16.3217)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB57 #5775D9
analogous
#D97A57 #D9BB57 #B6D957
triadic
#D9BB57 #57D9BB #BB57D9
tetradic
#D9BB57 #57D97A #5775D9 #D957B6
square
#D9BB57 #57D97A #5775D9 #D957B6
split-complementary
#D9BB57 #57B6D9 #7A57D9
monochromatic
#947A21 #C6A32D #D9BB57 #E4CF89 #F0E3BB

Accessibility & contrast

On white

1.88
#D9BB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#D9BB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB57
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB57#FFFFFF#000000##000000
##D9BB571.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84D
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#E9AEA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bb57;
/* rgb */ color: rgb(217, 187, 87);
/* oklch */ color: oklch(79.9% 0.124 92.7);
Tailwind
colors: {
  custom: {
    50: '#e8cf8a',
    500: '#d9bb57',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb57;
$custom-light: #e8cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb57",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 46.154,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79861,
    "c": 0.12389,
    "h": 92.7
  },
  "luminance": 0.5098
}

Semantic roles & 50–950 ramp

primary
#D9BB57
secondary
#3B5199
accent
#68E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BB57

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

Preview Lab → · Contrast checker → · Palette generator →

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