#D9B158#D9B158

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

Color values

HEX#D9B158
RGBrgb(217, 177, 88)
HSLhsl(41, 63%, 60%)
HSVhsv(41, 59%, 85%)
CMYKcmyk(0%, 18.4%, 59.4%, 14.9%)
CIE-LABlab(74.13, 4.37, 50.17)
CIE-LCHlch(74.13, 50.36, 85.02°)
OKLaboklab(77.86% 0.0098 0.1167)
OKLCHoklch(77.86% 0.117 85.2)
XYZxyz(46.1011, 46.9033, 15.8557)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B158 #5880D9
analogous
#D97058 #D9B158 #C1D958
triadic
#D9B158 #58D9B1 #B158D9
tetradic
#D9B158 #58D970 #5880D9 #D958C1
square
#D9B158 #58D970 #5880D9 #D958C1
split-complementary
#D9B158 #58C1D9 #7058D9
monochromatic
#957122 #C7972D #D9B158 #E4C88A #F0E0BC

Accessibility & contrast

On white

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

On black

10.38
#D9B158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B158
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B158#FFFFFF#000000##000000
##D9B1581.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#CDBB5B
Tritanopia (blue-blind)
#EAA49D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d9b158;
/* rgb */ color: rgb(217, 177, 88);
/* oklch */ color: oklch(77.9% 0.117 85.2);
Tailwind
colors: {
  custom: {
    50: '#e8c88a',
    500: '#d9b158',
    950: '#000000',
  },
}
SCSS
$custom: #d9b158;
$custom-light: #e8c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b158",
  "rgb": {
    "r": 217,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 41.395,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77862,
    "c": 0.11706,
    "h": 85.2
  },
  "luminance": 0.46901
}

Semantic roles & 50–950 ramp

primary
#D9B158
secondary
#ADBDDF
accent
#75E642
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D9B158

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

Preview Lab → · Contrast checker → · Palette generator →

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