#D8B04F#D8B04F

#D8B04F is a light, vivid orange. Relative luminance 0.462; OKLCH L 77.5% C 0.124 H 86.7°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#D8B04F
RGBrgb(216, 176, 79)
HSLhsl(42, 64%, 58%)
HSVhsv(42, 63%, 85%)
CMYKcmyk(0%, 18.5%, 63.4%, 15.3%)
CIE-LABlab(73.69, 3.86, 53.85)
CIE-LCHlch(73.69, 53.99, 85.90°)
OKLaboklab(77.46% 0.0072 0.1234)
OKLCHoklch(77.46% 0.124 86.7)
XYZxyz(45.2579, 46.2168, 13.9326)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B04F #4F77D8
analogous
#D86C4F #D8B04F #BBD84F
triadic
#D8B04F #4FD8B0 #B04FD8
tetradic
#D8B04F #4FD86C #4F77D8 #D84FBB
square
#D8B04F #4FD86C #4F77D8 #D84FBB
split-complementary
#D8B04F #4FBBD8 #6C4FD8
monochromatic
#8D6D1F #BF942A #D8B04F #E3C681 #EEDDB3

Accessibility & contrast

On white

2.05
#D8B04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#D8B04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B04F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B04F#FFFFFF#000000##000000
##D8B04F1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF45
Deuteranopia (green-blind)
#CDB953
Tritanopia (blue-blind)
#E9A29B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d8b04f;
/* rgb */ color: rgb(216, 176, 79);
/* oklch */ color: oklch(77.5% 0.124 86.7);
Tailwind
colors: {
  custom: {
    50: '#e7c784',
    500: '#d8b04f',
    950: '#000000',
  },
}
SCSS
$custom: #d8b04f;
$custom-light: #e7c784;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b04f",
  "rgb": {
    "r": 216,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 42.482,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.12359,
    "h": 86.7
  },
  "luminance": 0.46214
}

Semantic roles & 50–950 ramp

primary
#D8B04F
secondary
#A6B6DD
accent
#71E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B04F

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

Preview Lab → · Contrast checker → · Palette generator →

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