#987A2E#987A2E

#987A2E is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.100 H 87.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#987A2E
RGBrgb(152, 122, 46)
HSLhsl(43, 54%, 39%)
HSVhsv(43, 70%, 60%)
CMYKcmyk(0%, 19.7%, 69.7%, 40.4%)
CIE-LABlab(52.72, 3.16, 44.45)
CIE-LCHlch(52.72, 44.56, 85.93°)
OKLaboklab(59.36% 0.0051 0.1002)
OKLCHoklch(59.36% 0.1 87.1)
XYZxyz(20.4027, 20.7930, 5.5231)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A2E #2E4C98
analogous
#98452E #987A2E #81982E
triadic
#987A2E #2E987A #7A2E98
tetradic
#987A2E #2E9845 #2E4C98 #982E81
square
#987A2E #2E9845 #2E4C98 #982E81
split-complementary
#987A2E #2E8198 #452E98
monochromatic
#3A2F12 #695420 #987A2E #C59F3E #D3B66D

Accessibility & contrast

On white

4.07
#987A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#987A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A2E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A2E#FFFFFF#000000##000000
##987A2E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#A5706A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a2e;
/* rgb */ color: rgb(152, 122, 46);
/* oklch */ color: oklch(59.4% 0.100 87.1);
Tailwind
colors: {
  custom: {
    50: '#baa06b',
    500: '#987a2e',
    950: '#000000',
  },
}
SCSS
$custom: #987a2e;
$custom-light: #baa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#987a2e",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 43.019,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.10031,
    "h": 87.1
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

primary
#987A2E
secondary
#687FBA
accent
#74DD4B
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987A2E

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

Preview Lab → · Contrast checker → · Palette generator →

#987A2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva