#D97F5B#D97F5B

#D97F5B is a light, vivid orange. Relative luminance 0.307; OKLCH L 68.6% C 0.123 H 42.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D97F5B
RGBrgb(217, 127, 91)
HSLhsl(17, 62%, 60%)
HSVhsv(17, 58%, 85%)
CMYKcmyk(0%, 41.5%, 58.1%, 14.9%)
CIE-LABlab(62.24, 31.39, 34.41)
CIE-LCHlch(62.24, 46.58, 47.63°)
OKLaboklab(68.63% 0.0907 0.0824)
OKLCHoklch(68.63% 0.123 42.2)
XYZxyz(38.0957, 30.6896, 13.8129)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97F5B #5BB5D9
analogous
#D95B76 #D97F5B #D9BE5B
triadic
#D97F5B #5BD97F #7F5BD9
tetradic
#D97F5B #76D95B #5BB5D9 #BE5BD9
square
#D97F5B #76D95B #5BB5D9 #BE5BD9
split-complementary
#D97F5B #5BD9BE #5B76D9
monochromatic
#974423 #C85A2E #D97F5B #E5A68D #F0CDBE

Accessibility & contrast

On white

2.94
#D97F5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D97F5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97F5B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97F5B#FFFFFF#000000##000000
##D97F5B1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B58
Deuteranopia (green-blind)
#AC9E5A
Tritanopia (blue-blind)
#EC6F76
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d97f5b;
/* rgb */ color: rgb(217, 127, 91);
/* oklch */ color: oklch(68.6% 0.123 42.2);
Tailwind
colors: {
  custom: {
    50: '#e9a58a',
    500: '#d97f5b',
    950: '#000000',
  },
}
SCSS
$custom: #d97f5b;
$custom-light: #e9a58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d97f5b",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 91
  },
  "hsl": {
    "h": 17.143,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.68629,
    "c": 0.12251,
    "h": 42.2
  },
  "luminance": 0.30686
}

Semantic roles & 50–950 ramp

primary
#D97F5B
secondary
#B0D2E0
accent
#98CA1B
background
#FEFAF8
surface
#FDF4F0
border
#D5CECB
text
#170F0C
muted
#857F7D

Preview Lab

Preview with #D97F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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