#D9B151#D9B151

#D9B151 is a light, vivid orange. Relative luminance 0.468; OKLCH L 77.8% C 0.123 H 86.5°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#D9B151
RGBrgb(217, 177, 81)
HSLhsl(42, 64%, 58%)
HSVhsv(42, 63%, 85%)
CMYKcmyk(0%, 18.4%, 62.7%, 14.9%)
CIE-LABlab(74.06, 3.89, 53.37)
CIE-LCHlch(74.06, 53.51, 85.83°)
OKLaboklab(77.78% 0.0075 0.1226)
OKLCHoklch(77.78% 0.123 86.5)
XYZxyz(45.8250, 46.7928, 14.4012)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B151 #5179D9
analogous
#D96D51 #D9B151 #BDD951
triadic
#D9B151 #51D9B1 #B151D9
tetradic
#D9B151 #51D96D #5179D9 #D951BD
square
#D9B151 #51D96D #5179D9 #D951BD
split-complementary
#D9B151 #51BDD9 #6D51D9
monochromatic
#906F1F #C2962A #D9B151 #E4C883 #EFDEB5

Accessibility & contrast

On white

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

On black

10.36
#D9B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B151
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B151#FFFFFF#000000##000000
##D9B1511.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b151;
/* rgb */ color: rgb(217, 177, 81);
/* oklch */ color: oklch(77.8% 0.123 86.5);
Tailwind
colors: {
  custom: {
    50: '#e8c885',
    500: '#d9b151',
    950: '#000000',
  },
}
SCSS
$custom: #d9b151;
$custom-light: #e8c885;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b151",
  "rgb": {
    "r": 217,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 42.353,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77784,
    "c": 0.12284,
    "h": 86.5
  },
  "luminance": 0.4679
}

Semantic roles & 50–950 ramp

primary
#D9B151
secondary
#A8B8DE
accent
#72E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D9B151

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

Preview Lab → · Contrast checker → · Palette generator →

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