#987A23#987A23

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

Color values

HEX#987A23
RGBrgb(152, 122, 35)
HSLhsl(45, 63%, 37%)
HSVhsv(45, 77%, 60%)
CMYKcmyk(0%, 19.7%, 77%, 40.4%)
CIE-LABlab(52.64, 2.59, 49.07)
CIE-LCHlch(52.64, 49.14, 86.98°)
OKLaboklab(59.27% 0.0021 0.1078)
OKLCHoklch(59.27% 0.108 88.9)
XYZxyz(20.2130, 20.7171, 4.5240)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A23 #234198
analogous
#983F23 #987A23 #7C9823
triadic
#987A23 #23987A #7A2398
tetradic
#987A23 #23983F #234198 #98237C
square
#987A23 #23983F #234198 #98237C
split-complementary
#987A23 #237C98 #3F2398
monochromatic
#352A0C #665218 #987A23 #CAA22E #D9B95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987A23#FFFFFF#000000##000000
##987A231.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)
#897914
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#A56F69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a23;
/* rgb */ color: rgb(152, 122, 35);
/* oklch */ color: oklch(59.3% 0.108 88.9);
Tailwind
colors: {
  custom: {
    50: '#baa065',
    500: '#987a23',
    950: '#000000',
  },
}
SCSS
$custom: #987a23;
$custom-light: #baa065;
$custom-dark: #000000;
JSON
{
  "hex": "#987a23",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 44.615,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59271,
    "c": 0.10782,
    "h": 88.9
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#987A23
secondary
#5973BE
accent
#6CE642
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987A23

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

Preview Lab → · Contrast checker → · Palette generator →

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