#D8B45F#D8B45F

#D8B45F is a light, moderate orange. Relative luminance 0.481; OKLCH L 78.4% C 0.112 H 86.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D8B45F
RGBrgb(216, 180, 95)
HSLhsl(42, 61%, 61%)
HSVhsv(42, 56%, 85%)
CMYKcmyk(0%, 16.7%, 56%, 15.3%)
CIE-LABlab(74.87, 2.89, 47.64)
CIE-LCHlch(74.87, 47.72, 86.53°)
OKLaboklab(78.45% 0.0064 0.112)
OKLCHoklch(78.45% 0.112 86.7)
XYZxyz(46.7078, 48.0702, 17.6425)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B45F #5F83D8
analogous
#D8775F #D8B45F #BFD85F
triadic
#D8B45F #5FD8B4 #B45FD8
tetradic
#D8B45F #5FD877 #5F83D8 #D85FBF
square
#D8B45F #5FD877 #5F83D8 #D85FBF
split-complementary
#D8B45F #5FBFD8 #775FD8
monochromatic
#987625 #C99C31 #D8B45F #E4CB90 #F0E2C1

Accessibility & contrast

On white

1.98
#D8B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D8B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B45F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B45F#FFFFFF#000000##000000
##D8B45F1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B357
Deuteranopia (green-blind)
#CEBC62
Tritanopia (blue-blind)
#E8A7A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8b45f;
/* rgb */ color: rgb(216, 180, 95);
/* oklch */ color: oklch(78.4% 0.112 86.7);
Tailwind
colors: {
  custom: {
    50: '#e7ca8f',
    500: '#d8b45f',
    950: '#000000',
  },
}
SCSS
$custom: #d8b45f;
$custom-light: #e7ca8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b45f",
  "rgb": {
    "r": 216,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 42.149,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.78448,
    "c": 0.11214,
    "h": 86.7
  },
  "luminance": 0.48068
}

Semantic roles & 50–950 ramp

primary
#D8B45F
secondary
#B3C0E0
accent
#50C81D
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D8B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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