#D9BB40#D9BB40

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

Color values

HEX#D9BB40
RGBrgb(217, 187, 64)
HSLhsl(48, 67%, 55%)
HSVhsv(48, 71%, 85%)
CMYKcmyk(0%, 13.8%, 70.5%, 14.9%)
CIE-LABlab(76.48, -2.34, 63.19)
CIE-LCHlch(76.48, 63.23, 92.12°)
OKLaboklab(79.65% -0.0125 0.1407)
OKLCHoklch(79.65% 0.141 95.1)
XYZxyz(47.3134, 50.6651, 12.1367)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB40 #405ED9
analogous
#D96E40 #D9BB40 #ABD940
triadic
#D9BB40 #40D9BB #BB40D9
tetradic
#D9BB40 #40D96E #405ED9 #D940AB
square
#D9BB40 #40D96E #405ED9 #D940AB
split-complementary
#D9BB40 #40ABD9 #6E40D9
monochromatic
#84701A #B79B24 #D9BB40 #E3CD73 #EDDFA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BB40#FFFFFF#000000##000000
##D9BB401.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)
#CEB72E
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#EAADA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bb40;
/* rgb */ color: rgb(217, 187, 64);
/* oklch */ color: oklch(79.6% 0.141 95.1);
Tailwind
colors: {
  custom: {
    50: '#e9cf7c',
    500: '#d9bb40',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb40;
$custom-light: #e9cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb40",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 48.235,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79647,
    "c": 0.14128,
    "h": 95.1
  },
  "luminance": 0.50663
}

Semantic roles & 50–950 ramp

primary
#D9BB40
secondary
#32448B
accent
#60EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D9BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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