#D9BB3F#D9BB3F

#D9BB3F is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.6% C 0.142 H 95.1°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#D9BB3F
RGBrgb(217, 187, 63)
HSLhsl(48, 67%, 55%)
HSVhsv(48, 71%, 85%)
CMYKcmyk(0%, 13.8%, 71%, 14.9%)
CIE-LABlab(76.47, -2.39, 63.57)
CIE-LCHlch(76.47, 63.62, 92.15°)
OKLaboklab(79.64% -0.0127 0.1414)
OKLCHoklch(79.64% 0.142 95.1)
XYZxyz(47.2852, 50.6538, 11.9882)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB3F #3F5DD9
analogous
#D96E3F #D9BB3F #AAD93F
triadic
#D9BB3F #3FD9BB #BB3FD9
tetradic
#D9BB3F #3FD96E #3F5DD9 #D93FAA
square
#D9BB3F #3FD96E #3F5DD9 #D93FAA
split-complementary
#D9BB3F #3FAAD9 #6E3FD9
monochromatic
#846F1A #B79A24 #D9BB3F #E3CD72 #EDDFA5

Accessibility & contrast

On white

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

On black

11.13
#D9BB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB3F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB3F#FFFFFF#000000##000000
##D9BB3F1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72C
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#EAADA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bb3f;
/* rgb */ color: rgb(217, 187, 63);
/* oklch */ color: oklch(79.6% 0.142 95.1);
Tailwind
colors: {
  custom: {
    50: '#e9cf7b',
    500: '#d9bb3f',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb3f;
$custom-light: #e9cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb3f",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 63
  },
  "hsl": {
    "h": 48.312,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79639,
    "c": 0.14193,
    "h": 95.1
  },
  "luminance": 0.50651
}

Semantic roles & 50–950 ramp

primary
#D9BB3F
secondary
#32438A
accent
#5FEA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D9BB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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