#D9B040#D9B040

#D9B040 is a light, vivid orange. Relative luminance 0.462; OKLCH L 77.4% C 0.135 H 88.3°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#D9B040
RGBrgb(217, 176, 64)
HSLhsl(44, 67%, 55%)
HSVhsv(44, 71%, 85%)
CMYKcmyk(0%, 18.9%, 70.5%, 14.9%)
CIE-LABlab(73.66, 3.43, 60.35)
CIE-LCHlch(73.66, 60.45, 86.74°)
OKLaboklab(77.42% 0.0041 0.1347)
OKLCHoklch(77.42% 0.135 88.3)
XYZxyz(45.0686, 46.1754, 11.3884)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B040 #4069D9
analogous
#D96440 #D9B040 #B5D940
triadic
#D9B040 #40D9B0 #B040D9
tetradic
#D9B040 #40D964 #4069D9 #D940B5
square
#D9B040 #40D964 #4069D9 #D940B5
split-complementary
#D9B040 #40B5D9 #6440D9
monochromatic
#84681A #B79024 #D9B040 #E3C573 #EDDAA6

Accessibility & contrast

On white

2.05
#D9B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#D9B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B040
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B040#FFFFFF#000000##000000
##D9B0401.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE31
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#EBA199
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d9b040;
/* rgb */ color: rgb(217, 176, 64);
/* oklch */ color: oklch(77.4% 0.135 88.3);
Tailwind
colors: {
  custom: {
    50: '#e9c77b',
    500: '#d9b040',
    950: '#000000',
  },
}
SCSS
$custom: #d9b040;
$custom-light: #e9c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b040",
  "rgb": {
    "r": 217,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 43.922,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77424,
    "c": 0.13478,
    "h": 88.3
  },
  "luminance": 0.46173
}

Semantic roles & 50–950 ramp

primary
#D9B040
secondary
#9AACDA
accent
#6CEA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B040

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

Preview Lab → · Contrast checker → · Palette generator →

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