#987226#987226

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

Color values

HEX#987226
RGBrgb(152, 114, 38)
HSLhsl(40, 60%, 37%)
HSVhsv(40, 75%, 60%)
CMYKcmyk(0%, 25%, 75%, 40.4%)
CIE-LABlab(50.51, 7.28, 45.76)
CIE-LCHlch(50.51, 46.34, 80.96°)
OKLaboklab(57.61% 0.016 0.1014)
OKLCHoklch(57.61% 0.103 81)
XYZxyz(19.3173, 18.8514, 4.4546)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987226 #264C98
analogous
#983926 #987226 #859826
triadic
#987226 #269872 #722698
tetradic
#987226 #269839 #264C98 #982685
square
#987226 #269839 #264C98 #982685
split-complementary
#987226 #268598 #392698
monochromatic
#36290E #674D1A #987226 #C99732 #D7B061

Accessibility & contrast

On white

4.40
#987226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##987226#FFFFFF#000000##000000
##9872261.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81731B
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#A56763
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987226;
/* rgb */ color: rgb(152, 114, 38);
/* oklch */ color: oklch(57.6% 0.103 81.0);
Tailwind
colors: {
  custom: {
    50: '#ba9a65',
    500: '#987226',
    950: '#000000',
  },
}
SCSS
$custom: #987226;
$custom-light: #ba9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#987226",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 40,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57607,
    "c": 0.10266,
    "h": 81
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#987226
secondary
#5D7DBD
accent
#79E345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987226

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

Preview Lab → · Contrast checker → · Palette generator →

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