#987020#987020

#987020 is a mid, moderate orange. Relative luminance 0.184; OKLCH L 57.1% C 0.106 H 80.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#987020
RGBrgb(152, 112, 32)
HSLhsl(40, 65%, 36%)
HSVhsv(40, 79%, 60%)
CMYKcmyk(0%, 26.3%, 78.9%, 40.4%)
CIE-LABlab(49.94, 8.15, 47.70)
CIE-LCHlch(49.94, 48.39, 80.30°)
OKLaboklab(57.15% 0.0178 0.1042)
OKLCHoklch(57.15% 0.106 80.3)
XYZxyz(19.0051, 18.3695, 3.9109)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987020 #204898
analogous
#983420 #987020 #849820
triadic
#987020 #209870 #702098
tetradic
#987020 #209834 #204898 #982084
square
#987020 #209834 #204898 #982084
split-complementary
#987020 #208498 #342098
monochromatic
#33250B #654B15 #987020 #CB952B #DCAF57

Accessibility & contrast

On white

4.49
#987020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#987020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987020
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987020#FFFFFF#000000##000000
##9870201.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#807112
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#A66460
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #987020;
/* rgb */ color: rgb(152, 112, 32);
/* oklch */ color: oklch(57.1% 0.106 80.3);
Tailwind
colors: {
  custom: {
    50: '#bb9862',
    500: '#987020',
    950: '#000000',
  },
}
SCSS
$custom: #987020;
$custom-light: #bb9862;
$custom-dark: #000000;
JSON
{
  "hex": "#987020",
  "rgb": {
    "r": 152,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 40,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.10572,
    "h": 80.3
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#987020
secondary
#5478BF
accent
#78E840
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120D05
muted
#817E7A

Preview Lab

Preview with #987020

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

Preview Lab → · Contrast checker → · Palette generator →

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