#D8BC48#D8BC48

#D8BC48 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.8% C 0.136 H 95.5°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#D8BC48
RGBrgb(216, 188, 72)
HSLhsl(48, 65%, 56%)
HSVhsv(48, 67%, 85%)
CMYKcmyk(0%, 13%, 66.7%, 15.3%)
CIE-LABlab(76.70, -2.86, 60.15)
CIE-LCHlch(76.70, 60.22, 92.72°)
OKLaboklab(79.82% -0.013 0.1357)
OKLCHoklch(79.82% 0.136 95.5)
XYZxyz(47.4741, 51.0357, 13.4799)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC48 #4864D8
analogous
#D87448 #D8BC48 #ACD848
triadic
#D8BC48 #48D8BC #BC48D8
tetradic
#D8BC48 #48D874 #4864D8 #D848AC
square
#D8BC48 #48D874 #4864D8 #D848AC
split-complementary
#D8BC48 #48ACD8 #7448D8
monochromatic
#89741D #BB9E28 #D8BC48 #E3CE7A #EEE1AD

Accessibility & contrast

On white

1.87
#D8BC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#D8BC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC48
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC48#FFFFFF#000000##000000
##D8BC481.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB839
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#E9AEA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bc48;
/* rgb */ color: rgb(216, 188, 72);
/* oklch */ color: oklch(79.8% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#e8cf81',
    500: '#d8bc48',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc48;
$custom-light: #e8cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc48",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 48.333,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79822,
    "c": 0.13631,
    "h": 95.5
  },
  "luminance": 0.51033
}

Semantic roles & 50–950 ramp

primary
#D8BC48
secondary
#36478F
accent
#61E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BC48

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

Preview Lab → · Contrast checker → · Palette generator →

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