#98771B#98771B

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

Color values

HEX#98771B
RGBrgb(152, 119, 27)
HSLhsl(44, 70%, 35%)
HSVhsv(44, 82%, 60%)
CMYKcmyk(0%, 21.7%, 82.2%, 40.4%)
CIE-LABlab(51.78, 3.97, 51.23)
CIE-LCHlch(51.78, 51.39, 85.57°)
OKLaboklab(58.58% 0.0052 0.1107)
OKLCHoklch(58.58% 0.111 87.3)
XYZxyz(19.7448, 19.9496, 3.8474)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98771B #1B3C98
analogous
#98391B #98771B #7A981B
triadic
#98771B #1B9877 #771B98
tetradic
#98771B #1B9839 #1B3C98 #981B7A
square
#98771B #1B9839 #1B3C98 #981B7A
split-complementary
#98771B #1B7A98 #391B98
monochromatic
#302609 #644E12 #98771B #CCA024 #E0B94E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98771B#FFFFFF#000000##000000
##98771B1.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)
#867605
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#A56C66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #98771b;
/* rgb */ color: rgb(152, 119, 27);
/* oklch */ color: oklch(58.6% 0.111 87.3);
Tailwind
colors: {
  custom: {
    50: '#bb9d60',
    500: '#98771b',
    950: '#000000',
  },
}
SCSS
$custom: #98771b;
$custom-light: #bb9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#98771b",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 44.16,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.11077,
    "h": 87.3
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#98771B
secondary
#4D6CC2
accent
#6AED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #98771B

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

Preview Lab → · Contrast checker → · Palette generator →

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