#D99840#D99840

#D99840 is a light, vivid orange. Relative luminance 0.376; OKLCH L 72.8% C 0.129 H 71.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#D99840
RGBrgb(217, 152, 64)
HSLhsl(35, 67%, 55%)
HSVhsv(35, 71%, 85%)
CMYKcmyk(0%, 30%, 70.5%, 14.9%)
CIE-LABlab(67.71, 16.26, 54.23)
CIE-LCHlch(67.71, 56.61, 73.30°)
OKLaboklab(72.76% 0.0414 0.1217)
OKLCHoklch(72.76% 0.129 71.2)
XYZxyz(40.7718, 37.5818, 9.9562)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99840 #4081D9
analogous
#D94C40 #D99840 #CDD940
triadic
#D99840 #40D998 #9840D9
tetradic
#D99840 #40D94C #4081D9 #D940CD
square
#D99840 #40D94C #4081D9 #D940CD
split-complementary
#D99840 #40CDD9 #4C40D9
monochromatic
#84571A #B77924 #D99840 #E3B473 #EDCFA6

Accessibility & contrast

On white

2.47
#D99840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#D99840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99840
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99840#FFFFFF#000000##000000
##D998401.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C35
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#EC8885
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d99840;
/* rgb */ color: rgb(217, 152, 64);
/* oklch */ color: oklch(72.8% 0.129 71.2);
Tailwind
colors: {
  custom: {
    50: '#eab679',
    500: '#d99840',
    950: '#000000',
  },
}
SCSS
$custom: #d99840;
$custom-light: #eab679;
$custom-dark: #000000;
JSON
{
  "hex": "#d99840",
  "rgb": {
    "r": 217,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 34.51,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.72763,
    "c": 0.12856,
    "h": 71.2
  },
  "luminance": 0.37578
}

Semantic roles & 50–950 ramp

primary
#D99840
secondary
#9AB6DA
accent
#87EA3E
background
#FFFBF7
surface
#FEF6EE
border
#D6D0C9
text
#171109
muted
#85807B

Preview Lab

Preview with #D99840

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

Preview Lab → · Contrast checker → · Palette generator →

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