#98771D#98771D

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

Color values

HEX#98771D
RGBrgb(152, 119, 29)
HSLhsl(44, 68%, 35%)
HSVhsv(44, 81%, 60%)
CMYKcmyk(0%, 21.7%, 80.9%, 40.4%)
CIE-LABlab(51.79, 4.04, 50.54)
CIE-LCHlch(51.79, 50.70, 85.43°)
OKLaboklab(58.59% 0.0056 0.1096)
OKLCHoklch(58.59% 0.11 87.1)
XYZxyz(19.7687, 19.9591, 3.9734)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98771D #1D3E98
analogous
#98391D #98771D #7C981D
triadic
#98771D #1D9877 #771D98
tetradic
#98771D #1D9839 #1D3E98 #981D7C
square
#98771D #1D9839 #1D3E98 #981D7C
split-complementary
#98771D #1D7C98 #391D98
monochromatic
#312709 #654F13 #98771D #CB9F27 #DEB852

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98771D#FFFFFF#000000##000000
##98771D1.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)
#867609
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#A56C66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #98771d;
/* rgb */ color: rgb(152, 119, 29);
/* oklch */ color: oklch(58.6% 0.110 87.1);
Tailwind
colors: {
  custom: {
    50: '#bb9d61',
    500: '#98771d',
    950: '#000000',
  },
}
SCSS
$custom: #98771d;
$custom-light: #bb9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#98771d",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 43.902,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58592,
    "c": 0.10976,
    "h": 87.1
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#98771D
secondary
#506EC1
accent
#6CEB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #98771D

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

Preview Lab → · Contrast checker → · Palette generator →

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