#987A45#987A45

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

Color values

HEX#987A45
RGBrgb(152, 122, 69)
HSLhsl(38, 38%, 43%)
HSVhsv(38, 55%, 60%)
CMYKcmyk(0%, 19.7%, 54.6%, 40.4%)
CIE-LABlab(52.98, 4.88, 33.17)
CIE-LCHlch(52.98, 33.53, 81.64°)
OKLaboklab(59.65% 0.0132 0.079)
OKLCHoklch(59.65% 0.08 80.5)
XYZxyz(20.9835, 21.0253, 8.5821)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A45 #456398
analogous
#985045 #987A45 #8C9845
triadic
#987A45 #45987A #7A4598
tetradic
#987A45 #459850 #456398 #98458C
square
#987A45 #459850 #456398 #98458C
split-complementary
#987A45 #458C98 #504598
monochromatic
#44361F #6E5832 #987A45 #B89962 #CBB48C

Accessibility & contrast

On white

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

On black

5.20
#987A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A45
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A45#FFFFFF#000000##000000
##987A451.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A40
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#A3716D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a45;
/* rgb */ color: rgb(152, 122, 69);
/* oklch */ color: oklch(59.6% 0.080 80.5);
Tailwind
colors: {
  custom: {
    50: '#b8a07a',
    500: '#987a45',
    950: '#000000',
  },
}
SCSS
$custom: #987a45;
$custom-light: #b8a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#987a45",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 38.313,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.08006,
    "h": 80.5
  },
  "luminance": 0.21024
}

Semantic roles & 50–950 ramp

primary
#987A45
secondary
#8295B6
accent
#84CE5A
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E09
muted
#817E7B

Preview Lab

Preview with #987A45

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

Preview Lab → · Contrast checker → · Palette generator →

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