#987128#987128

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

Color values

HEX#987128
RGBrgb(152, 113, 40)
HSLhsl(39, 58%, 38%)
HSVhsv(39, 74%, 60%)
CMYKcmyk(0%, 25.7%, 73.7%, 40.4%)
CIE-LABlab(50.26, 7.95, 44.63)
CIE-LCHlch(50.26, 45.34, 79.90°)
OKLaboklab(57.42% 0.0182 0.0994)
OKLCHoklch(57.42% 0.101 79.6)
XYZxyz(19.2383, 18.6403, 4.5918)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987128 #284F98
analogous
#983928 #987128 #879828
triadic
#987128 #289871 #712898
tetradic
#987128 #289839 #284F98 #982887
square
#987128 #289839 #284F98 #982887
split-complementary
#987128 #288798 #392898
monochromatic
#37290F #684D1B #987128 #C89535 #D6AF64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987128#FFFFFF#000000##000000
##9871281.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)
#80721E
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#A56662
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987128;
/* rgb */ color: rgb(152, 113, 40);
/* oklch */ color: oklch(57.4% 0.101 79.6);
Tailwind
colors: {
  custom: {
    50: '#ba9966',
    500: '#987128',
    950: '#000000',
  },
}
SCSS
$custom: #987128;
$custom-light: #ba9966;
$custom-dark: #000000;
JSON
{
  "hex": "#987128",
  "rgb": {
    "r": 152,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 39.107,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.10107,
    "h": 79.6
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#987128
secondary
#6080BC
accent
#7CE246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120D06
muted
#817E7A

Preview Lab

Preview with #987128

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

Preview Lab → · Contrast checker → · Palette generator →

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