#D98E5F#D98E5F

#D98E5F is a light, moderate orange. Relative luminance 0.349; OKLCH L 71.3% C 0.111 H 52.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D98E5F
RGBrgb(217, 142, 95)
HSLhsl(23, 62%, 61%)
HSVhsv(23, 56%, 85%)
CMYKcmyk(0%, 34.6%, 56.2%, 14.9%)
CIE-LABlab(65.69, 23.68, 36.55)
CIE-LCHlch(65.69, 43.55, 57.06°)
OKLaboklab(71.31% 0.0679 0.0875)
OKLCHoklch(71.31% 0.111 52.2)
XYZxyz(40.3564, 34.9274, 15.4405)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98E5F #5FAAD9
analogous
#D95F6D #D98E5F #D9CB5F
triadic
#D98E5F #5FD98E #8E5FD9
tetradic
#D98E5F #6DD95F #5FAAD9 #CB5FD9
square
#D98E5F #6DD95F #5FAAD9 #CB5FD9
split-complementary
#D98E5F #5FD9CB #5F6DD9
monochromatic
#995124 #CB6C30 #D98E5F #E5B190 #F0D4C2

Accessibility & contrast

On white

2.63
#D98E5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D98E5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98E5F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98E5F#FFFFFF#000000##000000
##D98E5F1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3965B
Deuteranopia (green-blind)
#B5A65F
Tritanopia (blue-blind)
#EB8082
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d98e5f;
/* rgb */ color: rgb(217, 142, 95);
/* oklch */ color: oklch(71.3% 0.111 52.2);
Tailwind
colors: {
  custom: {
    50: '#e8af8d',
    500: '#d98e5f',
    950: '#000000',
  },
}
SCSS
$custom: #d98e5f;
$custom-light: #e8af8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d98e5f",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 95
  },
  "hsl": {
    "h": 23.115,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.71306,
    "c": 0.11075,
    "h": 52.2
  },
  "luminance": 0.34924
}

Semantic roles & 50–950 ramp

primary
#D98E5F
secondary
#B3CFE1
accent
#87C91C
background
#FEFAF8
surface
#FDF4F0
border
#D5CECB
text
#17100C
muted
#857F7D

Preview Lab

Preview with #D98E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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