#98731F#98731F

#98731F is a mid, moderate orange. Relative luminance 0.190; OKLCH L 57.8% C 0.107 H 83.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#98731F
RGBrgb(152, 115, 31)
HSLhsl(42, 66%, 36%)
HSVhsv(42, 80%, 60%)
CMYKcmyk(0%, 24.3%, 79.6%, 40.4%)
CIE-LABlab(50.73, 6.39, 48.83)
CIE-LCHlch(50.73, 49.25, 82.54°)
OKLaboklab(57.76% 0.0126 0.1064)
OKLCHoklch(57.76% 0.107 83.2)
XYZxyz(19.3282, 19.0372, 3.9526)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98731F #1F4498
analogous
#98361F #98731F #80981F
triadic
#98731F #1F9873 #731F98
tetradic
#98731F #1F9836 #1F4498 #981F80
square
#98731F #1F9836 #1F4498 #981F80
split-complementary
#98731F #1F8098 #361F98
monochromatic
#32260A #654D15 #98731F #CB9929 #DCB355

Accessibility & contrast

On white

4.37
#98731F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#98731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98731F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98731F#FFFFFF#000000##000000
##98731F1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#A56763
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #98731f;
/* rgb */ color: rgb(152, 115, 31);
/* oklch */ color: oklch(57.8% 0.107 83.2);
Tailwind
colors: {
  custom: {
    50: '#bb9b62',
    500: '#98731f',
    950: '#000000',
  },
}
SCSS
$custom: #98731f;
$custom-light: #bb9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#98731f",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 41.653,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57763,
    "c": 0.10714,
    "h": 83.2
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#98731F
secondary
#5374C0
accent
#73E93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #98731F

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

Preview Lab → · Contrast checker → · Palette generator →

#98731F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva