#DF9840#DF9840

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

Color values

HEX#DF9840
RGBrgb(223, 152, 64)
HSLhsl(33, 71%, 56%)
HSVhsv(33, 71%, 87%)
CMYKcmyk(0%, 31.8%, 71.3%, 12.5%)
CIE-LABlab(68.40, 18.81, 55.16)
CIE-LCHlch(68.40, 58.28, 71.17°)
OKLaboklab(73.45% 0.0485 0.1235)
OKLCHoklch(73.45% 0.133 68.6)
XYZxyz(42.5882, 38.5184, 10.0413)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9840 #4087DF
analogous
#DF4940 #DF9840 #D6DF40
triadic
#DF9840 #40DF98 #9840DF
tetradic
#DF9840 #40DF49 #4087DF #DF40D6
square
#DF9840 #40DF49 #4087DF #DF40D6
split-complementary
#DF9840 #40D6DF #4940DF
monochromatic
#8D5918 #C17A20 #DF9840 #E8B474 #F1D1A9

Accessibility & contrast

On white

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

On black

8.70
#DF9840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9840
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9840#FFFFFF#000000##000000
##DF98401.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D35
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#F38785
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #df9840;
/* rgb */ color: rgb(223, 152, 64);
/* oklch */ color: oklch(73.5% 0.133 68.6);
Tailwind
colors: {
  custom: {
    50: '#eeb679',
    500: '#df9840',
    950: '#000000',
  },
}
SCSS
$custom: #df9840;
$custom-light: #eeb679;
$custom-dark: #000000;
JSON
{
  "hex": "#df9840",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 33.208,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.73451,
    "c": 0.13263,
    "h": 68.6
  },
  "luminance": 0.38515
}

Semantic roles & 50–950 ramp

primary
#DF9840
secondary
#9DBADE
accent
#8AEE3A
background
#FFFBF7
surface
#FFF6EE
border
#D7D0C9
text
#171109
muted
#85807B

Preview Lab

Preview with #DF9840

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

Preview Lab → · Contrast checker → · Palette generator →

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