#D8BC68#D8BC68

#D8BC68 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 80.2% C 0.109 H 91.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D8BC68
RGBrgb(216, 188, 104)
HSLhsl(45, 59%, 63%)
HSVhsv(45, 52%, 85%)
CMYKcmyk(0%, 13%, 51.9%, 15.3%)
CIE-LABlab(77.02, -0.57, 45.80)
CIE-LCHlch(77.02, 45.80, 90.72°)
OKLaboklab(80.18% -0.0027 0.1088)
OKLCHoklch(80.18% 0.109 91.4)
XYZxyz(48.8026, 51.5671, 20.4768)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC68 #6884D8
analogous
#D88468 #D8BC68 #BCD868
triadic
#D8BC68 #68D8BC #BC68D8
tetradic
#D8BC68 #68D884 #6884D8 #D868BC
square
#D8BC68 #68D884 #6884D8 #D868BC
split-complementary
#D8BC68 #68BCD8 #8468D8
monochromatic
#9D8029 #CBA637 #D8BC68 #E5D299 #F1E7C9

Accessibility & contrast

On white

1.86
#D8BC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D8BC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC68
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC68#FFFFFF#000000##000000
##D8BC681.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB961
Deuteranopia (green-blind)
#D3C26B
Tritanopia (blue-blind)
#E7B0A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bc68;
/* rgb */ color: rgb(216, 188, 104);
/* oklch */ color: oklch(80.2% 0.109 91.4);
Tailwind
colors: {
  custom: {
    50: '#e6cf95',
    500: '#d8bc68',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc68;
$custom-light: #e6cf95;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc68",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 104
  },
  "hsl": {
    "h": 45,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80179,
    "c": 0.10881,
    "h": 91.4
  },
  "luminance": 0.51565
}

Semantic roles & 50–950 ramp

primary
#D8BC68
secondary
#435BA1
accent
#49C71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130D
muted
#84837F

Preview Lab

Preview with #D8BC68

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

Preview Lab → · Contrast checker → · Palette generator →

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