#DF9842#DF9842

#DF9842 is a light, vivid orange. Relative luminance 0.385; OKLCH L 73.5% C 0.131 H 68.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#DF9842
RGBrgb(223, 152, 66)
HSLhsl(33, 71%, 57%)
HSVhsv(33, 70%, 87%)
CMYKcmyk(0%, 31.8%, 70.4%, 12.5%)
CIE-LABlab(68.42, 18.91, 54.28)
CIE-LCHlch(68.42, 57.48, 70.79°)
OKLaboklab(73.47% 0.0491 0.122)
OKLCHoklch(73.47% 0.131 68.1)
XYZxyz(42.6461, 38.5415, 10.3464)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9842 #4289DF
analogous
#DF4A42 #DF9842 #D8DF42
triadic
#DF9842 #42DF98 #9842DF
tetradic
#DF9842 #42DF4A #4289DF #DF42D8
square
#DF9842 #42DF4A #4289DF #DF42D8
split-complementary
#DF9842 #42D8DF #4A42DF
monochromatic
#8E5918 #C37A21 #DF9842 #E8B576 #F1D1AB

Accessibility & contrast

On white

2.41
#DF9842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#DF9842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9842
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9842#FFFFFF#000000##000000
##DF98421.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D38
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#F38786
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #df9842;
/* rgb */ color: rgb(223, 152, 66);
/* oklch */ color: oklch(73.5% 0.131 68.1);
Tailwind
colors: {
  custom: {
    50: '#eeb67a',
    500: '#df9842',
    950: '#000000',
  },
}
SCSS
$custom: #df9842;
$custom-light: #eeb67a;
$custom-dark: #000000;
JSON
{
  "hex": "#df9842",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 32.866,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7347,
    "c": 0.13145,
    "h": 68.1
  },
  "luminance": 0.38538
}

Semantic roles & 50–950 ramp

primary
#DF9842
secondary
#9EBBDF
accent
#8BEE3A
background
#FFFBF7
surface
#FFF6EE
border
#D7D0C9
text
#171109
muted
#85807B

Preview Lab

Preview with #DF9842

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

Preview Lab → · Contrast checker → · Palette generator →

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