#987B2F#987B2F

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

Color values

HEX#987B2F
RGBrgb(152, 123, 47)
HSLhsl(43, 53%, 39%)
HSVhsv(43, 69%, 60%)
CMYKcmyk(0%, 19.1%, 69.1%, 40.4%)
CIE-LABlab(53.00, 2.66, 44.29)
CIE-LCHlch(53.00, 44.37, 86.57°)
OKLaboklab(59.59% 0.0038 0.1)
OKLCHoklch(59.59% 0.1 87.8)
XYZxyz(20.5461, 21.0478, 5.6692)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B2F #2F4C98
analogous
#98472F #987B2F #81982F
triadic
#987B2F #2F987B #7B2F98
tetradic
#987B2F #2F9847 #2F4C98 #982F81
square
#987B2F #2F9847 #2F4C98 #982F81
split-complementary
#987B2F #2F8198 #472F98
monochromatic
#3B2F12 #695521 #987B2F #C4A040 #D2B76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987B2F#FFFFFF#000000##000000
##987B2F1.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)
#897A26
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#A5716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987b2f;
/* rgb */ color: rgb(152, 123, 47);
/* oklch */ color: oklch(59.6% 0.100 87.8);
Tailwind
colors: {
  custom: {
    50: '#baa06b',
    500: '#987b2f',
    950: '#000000',
  },
}
SCSS
$custom: #987b2f;
$custom-light: #baa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#987b2f",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 43.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.10007,
    "h": 87.8
  },
  "luminance": 0.21047
}

Semantic roles & 50–950 ramp

primary
#987B2F
secondary
#697FBA
accent
#74DC4C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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