#D99D40#D99D40

#D99D40 is a light, vivid orange. Relative luminance 0.392; OKLCH L 73.7% C 0.129 H 74.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#D99D40
RGBrgb(217, 157, 64)
HSLhsl(36, 67%, 55%)
HSVhsv(36, 71%, 85%)
CMYKcmyk(0%, 27.6%, 70.5%, 14.9%)
CIE-LABlab(68.92, 13.57, 55.49)
CIE-LCHlch(68.92, 57.13, 76.25°)
OKLaboklab(73.71% 0.0335 0.1244)
OKLCHoklch(73.71% 0.129 74.9)
XYZxyz(41.6004, 39.2391, 10.2324)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99D40 #407CD9
analogous
#D95140 #D99D40 #C8D940
triadic
#D99D40 #40D99D #9D40D9
tetradic
#D99D40 #40D951 #407CD9 #D940C8
square
#D99D40 #40D951 #407CD9 #D940C8
split-complementary
#D99D40 #40C8D9 #5140D9
monochromatic
#845B1A #B77E24 #D99D40 #E3B773 #EDD1A6

Accessibility & contrast

On white

2.37
#D99D40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#D99D40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99D40
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99D40#FFFFFF#000000##000000
##D99D401.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A035
Deuteranopia (green-blind)
#C1AE43
Tritanopia (blue-blind)
#EC8D89
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d99d40;
/* rgb */ color: rgb(217, 157, 64);
/* oklch */ color: oklch(73.7% 0.129 74.9);
Tailwind
colors: {
  custom: {
    50: '#e9b97a',
    500: '#d99d40',
    950: '#000000',
  },
}
SCSS
$custom: #d99d40;
$custom-light: #e9b97a;
$custom-dark: #000000;
JSON
{
  "hex": "#d99d40",
  "rgb": {
    "r": 217,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 36.471,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.73709,
    "c": 0.12884,
    "h": 74.9
  },
  "luminance": 0.39236
}

Semantic roles & 50–950 ramp

primary
#D99D40
secondary
#9AB3DA
accent
#81EA3E
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#171109
muted
#85807B

Preview Lab

Preview with #D99D40

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

Preview Lab → · Contrast checker → · Palette generator →

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