#987127#987127

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

Color values

HEX#987127
RGBrgb(152, 113, 39)
HSLhsl(39, 59%, 37%)
HSVhsv(39, 74%, 60%)
CMYKcmyk(0%, 25.7%, 74.3%, 40.4%)
CIE-LABlab(50.26, 7.90, 45.07)
CIE-LCHlch(50.26, 45.76, 80.06°)
OKLaboklab(57.41% 0.018 0.1001)
OKLCHoklch(57.41% 0.102 79.8)
XYZxyz(19.2215, 18.6336, 4.5033)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987127 #274E98
analogous
#983927 #987127 #869827
triadic
#987127 #279871 #712798
tetradic
#987127 #279839 #274E98 #982786
square
#987127 #279839 #274E98 #982786
split-complementary
#987127 #278698 #392798
monochromatic
#37290E #674D1B #987127 #C99533 #D7AF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987127#FFFFFF#000000##000000
##9871271.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)
#80721D
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#A56662
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987127;
/* rgb */ color: rgb(152, 113, 39);
/* oklch */ color: oklch(57.4% 0.102 79.8);
Tailwind
colors: {
  custom: {
    50: '#ba9966',
    500: '#987127',
    950: '#000000',
  },
}
SCSS
$custom: #987127;
$custom-light: #ba9966;
$custom-dark: #000000;
JSON
{
  "hex": "#987127",
  "rgb": {
    "r": 152,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 39.292,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.10173,
    "h": 79.8
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#987127
secondary
#5E7FBC
accent
#7CE245
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120D06
muted
#817E7A

Preview Lab

Preview with #987127

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

Preview Lab → · Contrast checker → · Palette generator →

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