#D8B162#D8B162

#D8B162 is a light, moderate orange. Relative luminance 0.469; OKLCH L 77.9% C 0.108 H 83.6°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#D8B162
RGBrgb(216, 177, 98)
HSLhsl(40, 60%, 62%)
HSVhsv(40, 55%, 85%)
CMYKcmyk(0%, 18.1%, 54.6%, 15.3%)
CIE-LABlab(74.14, 4.72, 45.30)
CIE-LCHlch(74.14, 45.54, 84.06°)
OKLaboklab(77.89% 0.0121 0.1072)
OKLCHoklch(77.89% 0.108 83.6)
XYZxyz(46.2477, 46.9277, 18.1749)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B162 #6289D8
analogous
#D87662 #D8B162 #C4D862
triadic
#D8B162 #62D8B1 #B162D8
tetradic
#D8B162 #62D876 #6289D8 #D862C4
square
#D8B162 #62D876 #6289D8 #D862C4
split-complementary
#D8B162 #62C4D8 #7662D8
monochromatic
#997326 #CA9832 #D8B162 #E4C993 #F0E2C4

Accessibility & contrast

On white

2.02
#D8B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#D8B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B162
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B162#FFFFFF#000000##000000
##D8B1621.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#CCBA65
Tritanopia (blue-blind)
#E8A49F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d8b162;
/* rgb */ color: rgb(216, 177, 98);
/* oklch */ color: oklch(77.9% 0.108 83.6);
Tailwind
colors: {
  custom: {
    50: '#e7c890',
    500: '#d8b162',
    950: '#000000',
  },
}
SCSS
$custom: #d8b162;
$custom-light: #e7c890;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b162",
  "rgb": {
    "r": 216,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 40.169,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77889,
    "c": 0.10783,
    "h": 83.6
  },
  "luminance": 0.46925
}

Semantic roles & 50–950 ramp

primary
#D8B162
secondary
#B5C3E1
accent
#56C81E
background
#FEFCF9
surface
#FDF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D8B162

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

Preview Lab → · Contrast checker → · Palette generator →

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