#D8B142#D8B142

#D8B142 is a light, vivid orange. Relative luminance 0.464; OKLCH L 77.5% C 0.134 H 89.2°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D8B142
RGBrgb(216, 177, 66)
HSLhsl(44, 66%, 55%)
HSVhsv(44, 69%, 85%)
CMYKcmyk(0%, 18.1%, 69.4%, 15.3%)
CIE-LABlab(73.83, 2.58, 59.67)
CIE-LCHlch(73.83, 59.73, 87.53°)
OKLaboklab(77.54% 0.0019 0.1337)
OKLCHoklch(77.54% 0.134 89.2)
XYZxyz(45.0269, 46.4393, 11.7453)
Luminance0.4644 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B142 #4269D8
analogous
#D86642 #D8B142 #B4D842
triadic
#D8B142 #42D8B1 #B142D8
tetradic
#D8B142 #42D866 #4269D8 #D842B4
square
#D8B142 #42D866 #4269D8 #D842B4
split-complementary
#D8B142 #42B4D8 #6642D8
monochromatic
#84691B #B79126 #D8B142 #E2C675 #EDDBA7

Accessibility & contrast

On white

2.04
#D8B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#D8B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B142
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B142#FFFFFF#000000##000000
##D8B1421.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF33
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#E9A29A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d8b142;
/* rgb */ color: rgb(216, 177, 66);
/* oklch */ color: oklch(77.5% 0.134 89.2);
Tailwind
colors: {
  custom: {
    50: '#e8c87c',
    500: '#d8b142',
    950: '#000000',
  },
}
SCSS
$custom: #d8b142;
$custom-light: #e8c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b142",
  "rgb": {
    "r": 216,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 44.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77541,
    "c": 0.13369,
    "h": 89.2
  },
  "luminance": 0.46437
}

Semantic roles & 50–950 ramp

primary
#D8B142
secondary
#9CACDA
accent
#6BE93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B142

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

Preview Lab → · Contrast checker → · Palette generator →

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