#D8B64C#D8B64C

#D8B64C is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.6% C 0.129 H 91.3°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D8B64C
RGBrgb(216, 182, 76)
HSLhsl(45, 64%, 57%)
HSVhsv(45, 65%, 85%)
CMYKcmyk(0%, 15.7%, 64.8%, 15.3%)
CIE-LABlab(75.19, 0.51, 56.83)
CIE-LCHlch(75.19, 56.83, 89.48°)
OKLaboklab(78.64% -0.0028 0.1293)
OKLCHoklch(78.64% 0.129 91.3)
XYZxyz(46.3537, 48.5792, 13.7713)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B64C #4C6ED8
analogous
#D8704C #D8B64C #B4D84C
triadic
#D8B64C #4CD8B6 #B64CD8
tetradic
#D8B64C #4CD870 #4C6ED8 #D84CB4
square
#D8B64C #4CD870 #4C6ED8 #D84CB4
split-complementary
#D8B64C #4CB4D8 #704CD8
monochromatic
#8B711E #BE9A29 #D8B64C #E3CA7E #EEDFB1

Accessibility & contrast

On white

1.96
#D8B64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#D8B64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B64C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B64C#FFFFFF#000000##000000
##D8B64C1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B440
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#E9A89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8b64c;
/* rgb */ color: rgb(216, 182, 76);
/* oklch */ color: oklch(78.6% 0.129 91.3);
Tailwind
colors: {
  custom: {
    50: '#e8cb83',
    500: '#d8b64c',
    950: '#000000',
  },
}
SCSS
$custom: #d8b64c;
$custom-light: #e8cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b64c",
  "rgb": {
    "r": 216,
    "g": 182,
    "b": 76
  },
  "hsl": {
    "h": 45.429,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78638,
    "c": 0.12931,
    "h": 91.3
  },
  "luminance": 0.48577
}

Semantic roles & 50–950 ramp

primary
#D8B64C
secondary
#A4B1DC
accent
#69E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B64C

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

Preview Lab → · Contrast checker → · Palette generator →

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