#D8BB48#D8BB48

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

Color values

HEX#D8BB48
RGBrgb(216, 187, 72)
HSLhsl(48, 65%, 56%)
HSVhsv(48, 67%, 85%)
CMYKcmyk(0%, 13.4%, 66.7%, 15.3%)
CIE-LABlab(76.44, -2.34, 59.88)
CIE-LCHlch(76.44, 59.92, 92.24°)
OKLaboklab(79.62% -0.0115 0.1351)
OKLCHoklch(79.62% 0.136 94.9)
XYZxyz(47.2612, 50.6099, 13.4090)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BB48 #4865D8
analogous
#D87348 #D8BB48 #ADD848
triadic
#D8BB48 #48D8BB #BB48D8
tetradic
#D8BB48 #48D873 #4865D8 #D848AD
square
#D8BB48 #48D873 #4865D8 #D848AD
split-complementary
#D8BB48 #48ADD8 #7348D8
monochromatic
#89731D #BB9D28 #D8BB48 #E3CE7A #EEE0AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BB48#FFFFFF#000000##000000
##D8BB481.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)
#CEB739
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#E9ADA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bb48;
/* rgb */ color: rgb(216, 187, 72);
/* oklch */ color: oklch(79.6% 0.136 94.9);
Tailwind
colors: {
  custom: {
    50: '#e8cf81',
    500: '#d8bb48',
    950: '#000000',
  },
}
SCSS
$custom: #d8bb48;
$custom-light: #e8cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bb48",
  "rgb": {
    "r": 216,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 47.917,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79618,
    "c": 0.13561,
    "h": 94.9
  },
  "luminance": 0.50607
}

Semantic roles & 50–950 ramp

primary
#D8BB48
secondary
#36478F
accent
#62E840
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BB48

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

Preview Lab → · Contrast checker → · Palette generator →

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