#987B25#987B25

#987B25 is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.5% C 0.107 H 89.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#987B25
RGBrgb(152, 123, 37)
HSLhsl(45, 61%, 37%)
HSVhsv(45, 76%, 60%)
CMYKcmyk(0%, 19.1%, 75.7%, 40.4%)
CIE-LABlab(52.92, 2.12, 48.55)
CIE-LCHlch(52.92, 48.59, 87.50°)
OKLaboklab(59.5% 0.001 0.1071)
OKLCHoklch(59.5% 0.107 89.5)
XYZxyz(20.3670, 20.9762, 4.7260)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B25 #254298
analogous
#984225 #987B25 #7B9825
triadic
#987B25 #25987B #7B2598
tetradic
#987B25 #259842 #254298 #98257B
square
#987B25 #259842 #254298 #98257B
split-complementary
#987B25 #257B98 #422598
monochromatic
#362B0D #675319 #987B25 #C9A331 #D8BA5F

Accessibility & contrast

On white

4.04
#987B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#987B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987B25
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987B25#FFFFFF#000000##000000
##987B251.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#A5706A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987b25;
/* rgb */ color: rgb(152, 123, 37);
/* oklch */ color: oklch(59.5% 0.107 89.5);
Tailwind
colors: {
  custom: {
    50: '#baa066',
    500: '#987b25',
    950: '#000000',
  },
}
SCSS
$custom: #987b25;
$custom-light: #baa066;
$custom-dark: #000000;
JSON
{
  "hex": "#987b25",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 44.87,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.10711,
    "h": 89.5
  },
  "luminance": 0.20975
}

Semantic roles & 50–950 ramp

primary
#987B25
secondary
#5C74BD
accent
#6CE444
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987B25

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

Preview Lab → · Contrast checker → · Palette generator →

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