#D8B040#D8B040

#D8B040 is a light, vivid orange. Relative luminance 0.460; OKLCH L 77.3% C 0.135 H 88.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D8B040
RGBrgb(216, 176, 64)
HSLhsl(44, 66%, 55%)
HSVhsv(44, 70%, 85%)
CMYKcmyk(0%, 18.5%, 70.4%, 15.3%)
CIE-LABlab(73.56, 3.00, 60.22)
CIE-LCHlch(73.56, 60.30, 87.14°)
OKLaboklab(77.32% 0.0029 0.1345)
OKLCHoklch(77.32% 0.135 88.8)
XYZxyz(44.7722, 46.0226, 11.3746)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B040 #4068D8
analogous
#D86440 #D8B040 #B4D840
triadic
#D8B040 #40D8B0 #B040D8
tetradic
#D8B040 #40D864 #4068D8 #D840B4
square
#D8B040 #40D864 #4068D8 #D840B4
split-complementary
#D8B040 #40B4D8 #6440D8
monochromatic
#83671B #B69025 #D8B040 #E2C573 #EDDAA6

Accessibility & contrast

On white

2.06
#D8B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#D8B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B040
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B040#FFFFFF#000000##000000
##D8B0401.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE31
Deuteranopia (green-blind)
#CEB945
Tritanopia (blue-blind)
#EAA199
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d8b040;
/* rgb */ color: rgb(216, 176, 64);
/* oklch */ color: oklch(77.3% 0.135 88.8);
Tailwind
colors: {
  custom: {
    50: '#e8c77b',
    500: '#d8b040',
    950: '#000000',
  },
}
SCSS
$custom: #d8b040;
$custom-light: #e8c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b040",
  "rgb": {
    "r": 216,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 44.211,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77324,
    "c": 0.13451,
    "h": 88.8
  },
  "luminance": 0.4602
}

Semantic roles & 50–950 ramp

primary
#D8B040
secondary
#9AABDA
accent
#6CE93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B040

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

Preview Lab → · Contrast checker → · Palette generator →

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