#987B2E#987B2E

#987B2E is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.6% C 0.101 H 88.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#987B2E
RGBrgb(152, 123, 46)
HSLhsl(44, 54%, 39%)
HSVhsv(44, 70%, 60%)
CMYKcmyk(0%, 19.1%, 69.7%, 40.4%)
CIE-LABlab(52.99, 2.60, 44.74)
CIE-LCHlch(52.99, 44.81, 86.68°)
OKLaboklab(59.58% 0.0035 0.1008)
OKLCHoklch(59.58% 0.101 88)
XYZxyz(20.5261, 21.0398, 5.5642)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B2E #2E4B98
analogous
#98462E #987B2E #80982E
triadic
#987B2E #2E987B #7B2E98
tetradic
#987B2E #2E9846 #2E4B98 #982E80
square
#987B2E #2E9846 #2E4B98 #982E80
split-complementary
#987B2E #2E8098 #462E98
monochromatic
#3A2F12 #695520 #987B2E #C5A03E #D3B76D

Accessibility & contrast

On white

4.03
#987B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#987B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987B2E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987B2E#FFFFFF#000000##000000
##987B2E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#908231
Tritanopia (blue-blind)
#A5716B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987b2e;
/* rgb */ color: rgb(152, 123, 46);
/* oklch */ color: oklch(59.6% 0.101 88.0);
Tailwind
colors: {
  custom: {
    50: '#baa06b',
    500: '#987b2e',
    950: '#000000',
  },
}
SCSS
$custom: #987b2e;
$custom-light: #baa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#987b2e",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 43.585,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59577,
    "c": 0.10084,
    "h": 88
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#987B2E
secondary
#687EBA
accent
#73DD4B
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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