#D97F40#D97F40

#D97F40 is a light, vivid orange. Relative luminance 0.303; OKLCH L 68.3% C 0.136 H 53.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#D97F40
RGBrgb(217, 127, 64)
HSLhsl(25, 67%, 55%)
HSVhsv(25, 71%, 85%)
CMYKcmyk(0%, 41.5%, 70.5%, 14.9%)
CIE-LABlab(61.92, 29.67, 48.05)
CIE-LCHlch(61.92, 56.48, 58.30°)
OKLaboklab(68.27% 0.0813 0.1085)
OKLCHoklch(68.27% 0.136 53.2)
XYZxyz(37.1331, 30.3045, 8.7433)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97F40 #409AD9
analogous
#D9404D #D97F40 #D9CC40
triadic
#D97F40 #40D97F #7F40D9
tetradic
#D97F40 #4DD940 #409AD9 #CC40D9
square
#D97F40 #4DD940 #409AD9 #CC40D9
split-complementary
#D97F40 #40D9CC #404DD9
monochromatic
#84461A #B76124 #D97F40 #E3A173 #EDC3A6

Accessibility & contrast

On white

2.97
#D97F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D97F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97F40
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97F40#FFFFFF#000000##000000
##D97F401.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998939
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#ED6C71
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d97f40;
/* rgb */ color: rgb(217, 127, 64);
/* oklch */ color: oklch(68.3% 0.136 53.2);
Tailwind
colors: {
  custom: {
    50: '#eaa578',
    500: '#d97f40',
    950: '#000000',
  },
}
SCSS
$custom: #d97f40;
$custom-light: #eaa578;
$custom-dark: #000000;
JSON
{
  "hex": "#d97f40",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 24.706,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.13558,
    "h": 53.2
  },
  "luminance": 0.30301
}

Semantic roles & 50–950 ramp

primary
#D97F40
secondary
#9AC0DA
accent
#A3EA3E
background
#FFFAF7
surface
#FFF4ED
border
#D7CEC8
text
#170F09
muted
#857F7B

Preview Lab

Preview with #D97F40

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

Preview Lab → · Contrast checker → · Palette generator →

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