#987D2E#987D2E

#987D2E is a mid, moderate orange. Relative luminance 0.215; OKLCH L 60.0% C 0.102 H 89.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#987D2E
RGBrgb(152, 125, 46)
HSLhsl(45, 54%, 39%)
HSVhsv(45, 70%, 60%)
CMYKcmyk(0%, 17.8%, 69.7%, 40.4%)
CIE-LABlab(53.54, 1.47, 45.30)
CIE-LCHlch(53.54, 45.33, 88.14°)
OKLaboklab(60.01% 0.0003 0.102)
OKLCHoklch(60.01% 0.102 89.9)
XYZxyz(20.7768, 21.5411, 5.6478)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D2E #2E4998
analogous
#98482E #987D2E #7E982E
triadic
#987D2E #2E987D #7D2E98
tetradic
#987D2E #2E9848 #2E4998 #982E7E
square
#987D2E #2E9848 #2E4998 #982E7E
split-complementary
#987D2E #2E7E98 #482E98
monochromatic
#3A3012 #695620 #987D2E #C5A33E #D3B96D

Accessibility & contrast

On white

3.96
#987D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#987D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D2E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D2E#FFFFFF#000000##000000
##987D2E1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C24
Deuteranopia (green-blind)
#928332
Tritanopia (blue-blind)
#A4736D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #987d2e;
/* rgb */ color: rgb(152, 125, 46);
/* oklch */ color: oklch(60.0% 0.102 89.9);
Tailwind
colors: {
  custom: {
    50: '#baa26b',
    500: '#987d2e',
    950: '#000000',
  },
}
SCSS
$custom: #987d2e;
$custom-light: #baa26b;
$custom-dark: #000000;
JSON
{
  "hex": "#987d2e",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 44.717,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60005,
    "c": 0.10198,
    "h": 89.9
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#987D2E
secondary
#687DBA
accent
#70DD4B
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #987D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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