#985E1F#985E1F

#985E1F is a mid, moderate orange. Relative luminance 0.148; OKLCH L 53.6% C 0.107 H 63.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#985E1F
RGBrgb(152, 94, 31)
HSLhsl(31, 66%, 36%)
HSVhsv(31, 80%, 60%)
CMYKcmyk(0%, 38.2%, 79.6%, 40.4%)
CIE-LABlab(45.33, 18.45, 43.75)
CIE-LCHlch(45.33, 47.48, 67.14°)
OKLaboklab(53.55% 0.0478 0.0955)
OKLCHoklch(53.55% 0.107 63.4)
XYZxyz(17.2003, 14.7815, 3.2433)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985E1F #1F5998
analogous
#98221F #985E1F #95981F
triadic
#985E1F #1F985E #5E1F98
tetradic
#985E1F #1F9822 #1F5998 #981F95
square
#985E1F #1F9822 #1F5998 #981F95
split-complementary
#985E1F #1F9598 #221F98
monochromatic
#321F0A #653F15 #985E1F #CB7D29 #DC9B55

Accessibility & contrast

On white

5.31
#985E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#985E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985E1F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985E1F#FFFFFF#000000##FFFFFF
##985E1F1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706316
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#A65151
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #985e1f;
/* rgb */ color: rgb(152, 94, 31);
/* oklch */ color: oklch(53.6% 0.107 63.4);
Tailwind
colors: {
  custom: {
    50: '#bc8c5f',
    500: '#985e1f',
    950: '#000000',
  },
}
SCSS
$custom: #985e1f;
$custom-light: #bc8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#985e1f",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 31.24,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.10676,
    "h": 63.4
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#985E1F
secondary
#5387C0
accent
#90E93F
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130C05
muted
#827D79

Preview Lab

Preview with #985E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#985E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva