#D98F5B#D98F5B

#D98F5B is a light, moderate orange. Relative luminance 0.352; OKLCH L 71.4% C 0.113 H 54.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#D98F5B
RGBrgb(217, 143, 91)
HSLhsl(25, 62%, 60%)
HSVhsv(25, 58%, 85%)
CMYKcmyk(0%, 34.1%, 58.1%, 14.9%)
CIE-LABlab(65.87, 22.83, 38.89)
CIE-LCHlch(65.87, 45.09, 59.58°)
OKLaboklab(71.43% 0.0648 0.0923)
OKLCHoklch(71.43% 0.113 54.9)
XYZxyz(40.3287, 35.1554, 14.5572)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98F5B #5BA5D9
analogous
#D95B66 #D98F5B #D9CE5B
triadic
#D98F5B #5BD98F #8F5BD9
tetradic
#D98F5B #66D95B #5BA5D9 #CE5BD9
square
#D98F5B #66D95B #5BA5D9 #CE5BD9
split-complementary
#D98F5B #5BD9CE #5B66D9
monochromatic
#975323 #C86E2E #D98F5B #E5B18D #F0D3BE

Accessibility & contrast

On white

2.62
#D98F5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#D98F5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98F5B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98F5B#FFFFFF#000000##000000
##D98F5B1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d98f5b;
/* rgb */ color: rgb(217, 143, 91);
/* oklch */ color: oklch(71.4% 0.113 54.9);
Tailwind
colors: {
  custom: {
    50: '#e9b08a',
    500: '#d98f5b',
    950: '#000000',
  },
}
SCSS
$custom: #d98f5b;
$custom-light: #e9b08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d98f5b",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 91
  },
  "hsl": {
    "h": 24.762,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.71426,
    "c": 0.11279,
    "h": 54.9
  },
  "luminance": 0.35152
}

Semantic roles & 50–950 ramp

primary
#D98F5B
secondary
#B0CCE0
accent
#82CA1B
background
#FEFAF8
surface
#FDF4F0
border
#D5CECB
text
#17100C
muted
#857F7D

Preview Lab

Preview with #D98F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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