#D99842#D99842

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

Color values

HEX#D99842
RGBrgb(217, 152, 66)
HSLhsl(34, 67%, 55%)
HSVhsv(34, 70%, 85%)
CMYKcmyk(0%, 30%, 69.6%, 14.9%)
CIE-LABlab(67.73, 16.37, 53.34)
CIE-LCHlch(67.73, 55.80, 72.94°)
OKLaboklab(72.78% 0.042 0.1202)
OKLCHoklch(72.78% 0.127 70.7)
XYZxyz(40.8297, 37.6050, 10.2613)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99842 #4283D9
analogous
#D94C42 #D99842 #CFD942
triadic
#D99842 #42D998 #9842D9
tetradic
#D99842 #42D94C #4283D9 #D942CF
square
#D99842 #42D94C #4283D9 #D942CF
split-complementary
#D99842 #42CFD9 #4C42D9
monochromatic
#86581B #B97925 #D99842 #E3B475 #EDD0A8

Accessibility & contrast

On white

2.46
#D99842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D99842#FFFFFF#000000##000000
##D998421.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C38
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#EC8886
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d99842;
/* rgb */ color: rgb(217, 152, 66);
/* oklch */ color: oklch(72.8% 0.127 70.7);
Tailwind
colors: {
  custom: {
    50: '#e9b67a',
    500: '#d99842',
    950: '#000000',
  },
}
SCSS
$custom: #d99842;
$custom-light: #e9b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d99842",
  "rgb": {
    "r": 217,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 34.172,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.72782,
    "c": 0.12732,
    "h": 70.7
  },
  "luminance": 0.37602
}

Semantic roles & 50–950 ramp

primary
#D99842
secondary
#9CB7DB
accent
#88E93E
background
#FFFBF7
surface
#FEF6EE
border
#D6D0C9
text
#171109
muted
#85807B

Preview Lab

Preview with #D99842

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

Preview Lab → · Contrast checker → · Palette generator →

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