#987A24#987A24

#987A24 is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.3% C 0.107 H 88.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#987A24
RGBrgb(152, 122, 36)
HSLhsl(44, 62%, 37%)
HSVhsv(44, 76%, 60%)
CMYKcmyk(0%, 19.7%, 76.3%, 40.4%)
CIE-LABlab(52.65, 2.64, 48.68)
CIE-LCHlch(52.65, 48.75, 86.90°)
OKLaboklab(59.28% 0.0024 0.1072)
OKLCHoklch(59.28% 0.107 88.7)
XYZxyz(20.2281, 20.7232, 4.6033)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A24 #244298
analogous
#984024 #987A24 #7C9824
triadic
#987A24 #24987A #7A2498
tetradic
#987A24 #249840 #244298 #98247C
square
#987A24 #249840 #244298 #98247C
split-complementary
#987A24 #247C98 #402498
monochromatic
#352B0D #675218 #987A24 #C9A230 #D9B95E

Accessibility & contrast

On white

4.08
#987A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#987A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A24
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A24#FFFFFF#000000##000000
##987A241.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897916
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#A56F69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a24;
/* rgb */ color: rgb(152, 122, 36);
/* oklch */ color: oklch(59.3% 0.107 88.7);
Tailwind
colors: {
  custom: {
    50: '#baa065',
    500: '#987a24',
    950: '#000000',
  },
}
SCSS
$custom: #987a24;
$custom-light: #baa065;
$custom-dark: #000000;
JSON
{
  "hex": "#987a24",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 44.483,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.10721,
    "h": 88.7
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#987A24
secondary
#5A74BE
accent
#6DE543
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987A24

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

Preview Lab → · Contrast checker → · Palette generator →

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