#987A25#987A25

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

Color values

HEX#987A25
RGBrgb(152, 122, 37)
HSLhsl(44, 61%, 37%)
HSVhsv(44, 76%, 60%)
CMYKcmyk(0%, 19.7%, 75.7%, 40.4%)
CIE-LABlab(52.65, 2.68, 48.28)
CIE-LCHlch(52.65, 48.36, 86.82°)
OKLaboklab(59.29% 0.0026 0.1066)
OKLCHoklch(59.29% 0.107 88.6)
XYZxyz(20.2435, 20.7294, 4.6848)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A25 #254398
analogous
#984125 #987A25 #7D9825
triadic
#987A25 #25987A #7A2598
tetradic
#987A25 #259841 #254398 #98257D
square
#987A25 #259841 #254398 #98257D
split-complementary
#987A25 #257D98 #412598
monochromatic
#362B0D #675219 #987A25 #C9A231 #D8B95F

Accessibility & contrast

On white

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

On black

5.15
#987A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A25
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A25#FFFFFF#000000##000000
##987A251.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987a25;
/* rgb */ color: rgb(152, 122, 37);
/* oklch */ color: oklch(59.3% 0.107 88.6);
Tailwind
colors: {
  custom: {
    50: '#baa066',
    500: '#987a25',
    950: '#000000',
  },
}
SCSS
$custom: #987a25;
$custom-light: #baa066;
$custom-dark: #000000;
JSON
{
  "hex": "#987a25",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 44.348,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.10658,
    "h": 88.6
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#987A25
secondary
#5C75BD
accent
#6EE444
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987A25

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

Preview Lab → · Contrast checker → · Palette generator →

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