#D8BC47#D8BC47

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

Color values

HEX#D8BC47
RGBrgb(216, 188, 71)
HSLhsl(48, 65%, 56%)
HSVhsv(48, 67%, 85%)
CMYKcmyk(0%, 13%, 67.1%, 15.3%)
CIE-LABlab(76.69, -2.92, 60.56)
CIE-LCHlch(76.69, 60.63, 92.76°)
OKLaboklab(79.81% -0.0133 0.1364)
OKLCHoklch(79.81% 0.137 95.6)
XYZxyz(47.4417, 51.0227, 13.3095)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC47 #4763D8
analogous
#D87447 #D8BC47 #ACD847
triadic
#D8BC47 #47D8BC #BC47D8
tetradic
#D8BC47 #47D874 #4763D8 #D847AC
square
#D8BC47 #47D874 #4763D8 #D847AC
split-complementary
#D8BC47 #47ACD8 #7447D8
monochromatic
#88731D #BA9E27 #D8BC47 #E3CE79 #EDE1AC

Accessibility & contrast

On white

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

On black

11.20
#D8BC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC47
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC47#FFFFFF#000000##000000
##D8BC471.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bc47;
/* rgb */ color: rgb(216, 188, 71);
/* oklch */ color: oklch(79.8% 0.137 95.6);
Tailwind
colors: {
  custom: {
    50: '#e8cf80',
    500: '#d8bc47',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc47;
$custom-light: #e8cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc47",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 71
  },
  "hsl": {
    "h": 48.414,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79814,
    "c": 0.13705,
    "h": 95.6
  },
  "luminance": 0.5102
}

Semantic roles & 50–950 ramp

primary
#D8BC47
secondary
#35468E
accent
#60E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #D8BC47

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

Preview Lab → · Contrast checker → · Palette generator →

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