#D9BB48#D9BB48

#D9BB48 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.136 H 94.4°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#D9BB48
RGBrgb(217, 187, 72)
HSLhsl(48, 66%, 57%)
HSVhsv(48, 67%, 85%)
CMYKcmyk(0%, 13.8%, 66.8%, 14.9%)
CIE-LABlab(76.54, -1.91, 60.00)
CIE-LCHlch(76.54, 60.04, 91.83°)
OKLaboklab(79.71% -0.0104 0.1354)
OKLCHoklch(79.71% 0.136 94.4)
XYZxyz(47.5576, 50.7628, 13.4228)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB48 #4866D9
analogous
#D97348 #D9BB48 #AFD948
triadic
#D9BB48 #48D9BB #BB48D9
tetradic
#D9BB48 #48D973 #4866D9 #D948AF
square
#D9BB48 #48D973 #4866D9 #D948AF
split-complementary
#D9BB48 #48AFD9 #7348D9
monochromatic
#8A731D #BD9E27 #D9BB48 #E4CE7B #EEE1AD

Accessibility & contrast

On white

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

On black

11.15
#D9BB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB48
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB48#FFFFFF#000000##000000
##D9BB481.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#D5C14E
Tritanopia (blue-blind)
#EAADA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bb48;
/* rgb */ color: rgb(217, 187, 72);
/* oklch */ color: oklch(79.7% 0.136 94.4);
Tailwind
colors: {
  custom: {
    50: '#e8cf81',
    500: '#d9bb48',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb48;
$custom-light: #e8cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb48",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 47.586,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79713,
    "c": 0.13576,
    "h": 94.4
  },
  "luminance": 0.5076
}

Semantic roles & 50–950 ramp

primary
#D9BB48
secondary
#354890
accent
#62E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #D9BB48

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

Preview Lab → · Contrast checker → · Palette generator →

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