#987126#987126

#987126 is a mid, moderate orange. Relative luminance 0.186; OKLCH L 57.4% C 0.102 H 80.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#987126
RGBrgb(152, 113, 38)
HSLhsl(39, 60%, 37%)
HSVhsv(39, 75%, 60%)
CMYKcmyk(0%, 25.7%, 75%, 40.4%)
CIE-LABlab(50.25, 7.85, 45.50)
CIE-LCHlch(50.25, 46.17, 80.21°)
OKLaboklab(57.4% 0.0177 0.1008)
OKLCHoklch(57.4% 0.102 80.1)
XYZxyz(19.2051, 18.6270, 4.4172)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987126 #264D98
analogous
#983826 #987126 #869826
triadic
#987126 #269871 #712698
tetradic
#987126 #269838 #264D98 #982686
square
#987126 #269838 #264D98 #982686
split-complementary
#987126 #268698 #382698
monochromatic
#36280E #674D1A #987126 #C99532 #D7AF61

Accessibility & contrast

On white

4.44
#987126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#987126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987126
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987126#FFFFFF#000000##000000
##9871261.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80721B
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#A56662
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987126;
/* rgb */ color: rgb(152, 113, 38);
/* oklch */ color: oklch(57.4% 0.102 80.1);
Tailwind
colors: {
  custom: {
    50: '#ba9965',
    500: '#987126',
    950: '#000000',
  },
}
SCSS
$custom: #987126;
$custom-light: #ba9965;
$custom-dark: #000000;
JSON
{
  "hex": "#987126",
  "rgb": {
    "r": 152,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 39.474,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57399,
    "c": 0.10238,
    "h": 80.1
  },
  "luminance": 0.18626
}

Semantic roles & 50–950 ramp

primary
#987126
secondary
#5D7EBD
accent
#7BE345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120D06
muted
#817E7A

Preview Lab

Preview with #987126

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

Preview Lab → · Contrast checker → · Palette generator →

#987126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva