#987A2F#987A2F

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

Color values

HEX#987A2F
RGBrgb(152, 122, 47)
HSLhsl(43, 53%, 39%)
HSVhsv(43, 69%, 60%)
CMYKcmyk(0%, 19.7%, 69.1%, 40.4%)
CIE-LABlab(52.73, 3.22, 44.00)
CIE-LCHlch(52.73, 44.12, 85.81°)
OKLaboklab(59.37% 0.0055 0.0994)
OKLCHoklch(59.37% 0.1 86.9)
XYZxyz(20.4226, 20.8010, 5.6281)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A2F #2F4D98
analogous
#98462F #987A2F #82982F
triadic
#987A2F #2F987A #7A2F98
tetradic
#987A2F #2F9846 #2F4D98 #982F82
square
#987A2F #2F9846 #2F4D98 #982F82
split-complementary
#987A2F #2F8298 #462F98
monochromatic
#3B2F12 #695421 #987A2F #C49E40 #D2B66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987A2F#FFFFFF#000000##000000
##987A2F1.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)
#887926
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#A5706A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a2f;
/* rgb */ color: rgb(152, 122, 47);
/* oklch */ color: oklch(59.4% 0.100 86.9);
Tailwind
colors: {
  custom: {
    50: '#baa06b',
    500: '#987a2f',
    950: '#000000',
  },
}
SCSS
$custom: #987a2f;
$custom-light: #baa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#987a2f",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 42.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.09955,
    "h": 86.9
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#987A2F
secondary
#6980BA
accent
#75DC4C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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