#98771F#98771F

#98771F is a mid, moderate orange. Relative luminance 0.200; OKLCH L 58.6% C 0.109 H 86.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#98771F
RGBrgb(152, 119, 31)
HSLhsl(44, 66%, 36%)
HSVhsv(44, 80%, 60%)
CMYKcmyk(0%, 21.7%, 79.6%, 40.4%)
CIE-LABlab(51.80, 4.12, 49.82)
CIE-LCHlch(51.80, 49.99, 85.27°)
OKLaboklab(58.61% 0.0061 0.1085)
OKLCHoklch(58.61% 0.109 86.8)
XYZxyz(19.7943, 19.9694, 4.1080)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98771F #1F4098
analogous
#983A1F #98771F #7C981F
triadic
#98771F #1F9877 #771F98
tetradic
#98771F #1F983A #1F4098 #981F7C
square
#98771F #1F983A #1F4098 #981F7C
split-complementary
#98771F #1F7C98 #3A1F98
monochromatic
#32270A #654F15 #98771F #CB9F29 #DCB755

Accessibility & contrast

On white

4.21
#98771F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#98771F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98771F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98771F#FFFFFF#000000##000000
##98771F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#A56C66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #98771f;
/* rgb */ color: rgb(152, 119, 31);
/* oklch */ color: oklch(58.6% 0.109 86.8);
Tailwind
colors: {
  custom: {
    50: '#bb9d62',
    500: '#98771f',
    950: '#000000',
  },
}
SCSS
$custom: #98771f;
$custom-light: #bb9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#98771f",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 43.636,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.10869,
    "h": 86.8
  },
  "luminance": 0.19968
}

Semantic roles & 50–950 ramp

primary
#98771F
secondary
#5371C0
accent
#6DE93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #98771F

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

Preview Lab → · Contrast checker → · Palette generator →

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