#987B28#987B28

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

Color values

HEX#987B28
RGBrgb(152, 123, 40)
HSLhsl(44, 58%, 38%)
HSVhsv(44, 74%, 60%)
CMYKcmyk(0%, 19.1%, 73.7%, 40.4%)
CIE-LABlab(52.94, 2.27, 47.33)
CIE-LCHlch(52.94, 47.38, 87.26°)
OKLaboklab(59.52% 0.0018 0.1051)
OKLCHoklch(59.52% 0.105 89)
XYZxyz(20.4160, 20.9958, 4.9843)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B28 #284598
analogous
#984328 #987B28 #7D9828
triadic
#987B28 #28987B #7B2898
tetradic
#987B28 #289843 #284598 #98287D
square
#987B28 #289843 #284598 #98287D
split-complementary
#987B28 #287D98 #432898
monochromatic
#372D0F #68541B #987B28 #C8A235 #D6B964

Accessibility & contrast

On white

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

On black

5.20
#987B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987B28
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987B28#FFFFFF#000000##000000
##987B281.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1C
Deuteranopia (green-blind)
#90822C
Tritanopia (blue-blind)
#A5706A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987b28;
/* rgb */ color: rgb(152, 123, 40);
/* oklch */ color: oklch(59.5% 0.105 89.0);
Tailwind
colors: {
  custom: {
    50: '#baa067',
    500: '#987b28',
    950: '#000000',
  },
}
SCSS
$custom: #987b28;
$custom-light: #baa067;
$custom-dark: #000000;
JSON
{
  "hex": "#987b28",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 44.464,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.10515,
    "h": 89
  },
  "luminance": 0.20995
}

Semantic roles & 50–950 ramp

primary
#987B28
secondary
#6078BC
accent
#6EE246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987B28

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

Preview Lab → · Contrast checker → · Palette generator →

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