#D8B151#D8B151

#D8B151 is a light, vivid orange. Relative luminance 0.466; OKLCH L 77.7% C 0.123 H 87.0°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#D8B151
RGBrgb(216, 177, 81)
HSLhsl(43, 63%, 58%)
HSVhsv(43, 63%, 85%)
CMYKcmyk(0%, 18.1%, 62.5%, 15.3%)
CIE-LABlab(73.96, 3.46, 53.23)
CIE-LCHlch(73.96, 53.35, 86.28°)
OKLaboklab(77.68% 0.0063 0.1224)
OKLCHoklch(77.68% 0.123 87)
XYZxyz(45.5286, 46.6400, 14.3874)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B151 #5178D8
analogous
#D86D51 #D8B151 #BBD851
triadic
#D8B151 #51D8B1 #B151D8
tetradic
#D8B151 #51D86D #5178D8 #D851BB
square
#D8B151 #51D86D #5178D8 #D851BB
split-complementary
#D8B151 #51BBD8 #6D51D8
monochromatic
#8F6F20 #C1952B #D8B151 #E3C783 #EEDEB5

Accessibility & contrast

On white

2.03
#D8B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#D8B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B151
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B151#FFFFFF#000000##000000
##D8B1511.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#CDBA55
Tritanopia (blue-blind)
#E9A39C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d8b151;
/* rgb */ color: rgb(216, 177, 81);
/* oklch */ color: oklch(77.7% 0.123 87.0);
Tailwind
colors: {
  custom: {
    50: '#e7c885',
    500: '#d8b151',
    950: '#000000',
  },
}
SCSS
$custom: #d8b151;
$custom-light: #e7c885;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b151",
  "rgb": {
    "r": 216,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 42.667,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77684,
    "c": 0.12251,
    "h": 87
  },
  "luminance": 0.46637
}

Semantic roles & 50–950 ramp

primary
#D8B151
secondary
#A8B7DD
accent
#71E641
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B151

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

Preview Lab → · Contrast checker → · Palette generator →

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