#987828#987828

#987828 is a mid, moderate orange. Relative luminance 0.203; OKLCH L 58.9% C 0.104 H 86.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#987828
RGBrgb(152, 120, 40)
HSLhsl(43, 58%, 38%)
HSVhsv(43, 74%, 60%)
CMYKcmyk(0%, 21.1%, 73.7%, 40.4%)
CIE-LABlab(52.13, 3.96, 46.52)
CIE-LCHlch(52.13, 46.68, 85.13°)
OKLaboklab(58.88% 0.0067 0.1034)
OKLCHoklch(58.88% 0.104 86.3)
XYZxyz(20.0496, 20.2629, 4.8622)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987828 #284898
analogous
#984028 #987828 #809828
triadic
#987828 #289878 #782898
tetradic
#987828 #289840 #284898 #982880
square
#987828 #289840 #284898 #982880
split-complementary
#987828 #288098 #402898
monochromatic
#372B0F #68521B #987828 #C89E35 #D6B664

Accessibility & contrast

On white

4.16
#987828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#987828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987828
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987828#FFFFFF#000000##000000
##9878281.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771D
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#A56D68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #987828;
/* rgb */ color: rgb(152, 120, 40);
/* oklch */ color: oklch(58.9% 0.104 86.3);
Tailwind
colors: {
  custom: {
    50: '#ba9e67',
    500: '#987828',
    950: '#000000',
  },
}
SCSS
$custom: #987828;
$custom-light: #ba9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#987828",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 42.857,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.10363,
    "h": 86.3
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#987828
secondary
#607ABC
accent
#73E246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987828

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

Preview Lab → · Contrast checker → · Palette generator →

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