#987626#987626

#987626 is a mid, moderate orange. Relative luminance 0.198; OKLCH L 58.4% C 0.104 H 84.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#987626
RGBrgb(152, 118, 38)
HSLhsl(42, 60%, 37%)
HSVhsv(42, 75%, 60%)
CMYKcmyk(0%, 22.4%, 75%, 40.4%)
CIE-LABlab(51.58, 5.00, 46.82)
CIE-LCHlch(51.58, 47.09, 83.91°)
OKLaboklab(58.45% 0.0094 0.1036)
OKLCHoklch(58.45% 0.104 84.8)
XYZxyz(19.7784, 19.7736, 4.6083)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987626 #264898
analogous
#983D26 #987626 #819826
triadic
#987626 #269876 #762698
tetradic
#987626 #26983D #264898 #982681
square
#987626 #26983D #264898 #982681
split-complementary
#987626 #268198 #3D2698
monochromatic
#362A0E #67501A #987626 #C99C32 #D7B461

Accessibility & contrast

On white

4.24
#987626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#987626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987626
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987626#FFFFFF#000000##000000
##9876261.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#A56B66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #987626;
/* rgb */ color: rgb(152, 118, 38);
/* oklch */ color: oklch(58.4% 0.104 84.8);
Tailwind
colors: {
  custom: {
    50: '#ba9d66',
    500: '#987626',
    950: '#000000',
  },
}
SCSS
$custom: #987626;
$custom-light: #ba9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#987626",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 42.105,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.10407,
    "h": 84.8
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

primary
#987626
secondary
#5D7ABD
accent
#74E345
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987626

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

Preview Lab → · Contrast checker → · Palette generator →

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