#98771A#98771A

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

Color values

HEX#98771A
RGBrgb(152, 119, 26)
HSLhsl(44, 71%, 35%)
HSVhsv(44, 83%, 60%)
CMYKcmyk(0%, 21.7%, 82.9%, 40.4%)
CIE-LABlab(51.77, 3.93, 51.57)
CIE-LCHlch(51.77, 51.72, 85.64°)
OKLaboklab(58.57% 0.005 0.1112)
OKLCHoklch(58.57% 0.111 87.4)
XYZxyz(19.7334, 19.9450, 3.7875)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98771A #1A3B98
analogous
#98381A #98771A #7A981A
triadic
#98771A #1A9877 #771A98
tetradic
#98771A #1A9838 #1A3B98 #981A7A
square
#98771A #1A9838 #1A3B98 #981A7A
split-complementary
#98771A #1A7A98 #381A98
monochromatic
#2F2508 #644E11 #98771A #CCA023 #E0BA4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98771A#FFFFFF#000000##000000
##98771A1.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)
#867603
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#A56C66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #98771a;
/* rgb */ color: rgb(152, 119, 26);
/* oklch */ color: oklch(58.6% 0.111 87.4);
Tailwind
colors: {
  custom: {
    50: '#bb9d60',
    500: '#98771a',
    950: '#000000',
  },
}
SCSS
$custom: #98771a;
$custom-light: #bb9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#98771a",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 44.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58574,
    "c": 0.11126,
    "h": 87.4
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#98771A
secondary
#4B6BC2
accent
#69EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #98771A

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

Preview Lab → · Contrast checker → · Palette generator →

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