#987223#987223

#987223 is a mid, moderate orange. Relative luminance 0.188; OKLCH L 57.6% C 0.105 H 81.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#987223
RGBrgb(152, 114, 35)
HSLhsl(41, 63%, 37%)
HSVhsv(41, 77%, 60%)
CMYKcmyk(0%, 25%, 77%, 40.4%)
CIE-LABlab(50.49, 7.14, 47.01)
CIE-LCHlch(50.49, 47.55, 81.37°)
OKLaboklab(57.58% 0.0152 0.1034)
OKLCHoklch(57.58% 0.105 81.6)
XYZxyz(19.2708, 18.8328, 4.2099)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987223 #234998
analogous
#983823 #987223 #849823
triadic
#987223 #239872 #722398
tetradic
#987223 #239838 #234998 #982384
square
#987223 #239838 #234998 #982384
split-complementary
#987223 #238498 #382398
monochromatic
#35270C #664D18 #987223 #CA972E #D9B15C

Accessibility & contrast

On white

4.41
#987223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#987223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987223
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987223#FFFFFF#000000##000000
##9872231.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827317
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#A56762
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987223;
/* rgb */ color: rgb(152, 114, 35);
/* oklch */ color: oklch(57.6% 0.105 81.6);
Tailwind
colors: {
  custom: {
    50: '#bb9a64',
    500: '#987223',
    950: '#000000',
  },
}
SCSS
$custom: #987223;
$custom-light: #bb9a64;
$custom-dark: #000000;
JSON
{
  "hex": "#987223",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 40.513,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.10453,
    "h": 81.6
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#987223
secondary
#597ABE
accent
#77E642
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987223

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

Preview Lab → · Contrast checker → · Palette generator →

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