#D8BC43#D8BC43

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

Color values

HEX#D8BC43
RGBrgb(216, 188, 67)
HSLhsl(49, 66%, 55%)
HSVhsv(49, 69%, 85%)
CMYKcmyk(0%, 13%, 69%, 15.3%)
CIE-LABlab(76.66, -3.13, 62.16)
CIE-LCHlch(76.66, 62.24, 92.88°)
OKLaboklab(79.78% -0.0144 0.1391)
OKLCHoklch(79.78% 0.14 95.9)
XYZxyz(47.3176, 50.9731, 12.6555)
Luminance0.5097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC43 #435FD8
analogous
#D87143 #D8BC43 #A9D843
triadic
#D8BC43 #43D8BC #BC43D8
tetradic
#D8BC43 #43D871 #435FD8 #D843A9
square
#D8BC43 #43D871 #435FD8 #D843A9
split-complementary
#D8BC43 #43A9D8 #7143D8
monochromatic
#85711C #B89C26 #D8BC43 #E3CE76 #EDE0A8

Accessibility & contrast

On white

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

On black

11.19
#D8BC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC43
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC43#FFFFFF#000000##000000
##D8BC431.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB832
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#E9AEA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bc43;
/* rgb */ color: rgb(216, 188, 67);
/* oklch */ color: oklch(79.8% 0.140 95.9);
Tailwind
colors: {
  custom: {
    50: '#e8cf7e',
    500: '#d8bc43',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc43;
$custom-light: #e8cf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc43",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 67
  },
  "hsl": {
    "h": 48.725,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7978,
    "c": 0.13985,
    "h": 95.9
  },
  "luminance": 0.50971
}

Semantic roles & 50–950 ramp

primary
#D8BC43
secondary
#34448C
accent
#5FE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D8BC43

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

Preview Lab → · Contrast checker → · Palette generator →

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