#987526#987526

#987526 is a mid, moderate orange. Relative luminance 0.195; OKLCH L 58.2% C 0.104 H 83.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#987526
RGBrgb(152, 117, 38)
HSLhsl(42, 60%, 37%)
HSVhsv(42, 75%, 60%)
CMYKcmyk(0%, 23%, 75%, 40.4%)
CIE-LABlab(51.31, 5.57, 46.55)
CIE-LCHlch(51.31, 46.89, 83.18°)
OKLaboklab(58.23% 0.0111 0.1031)
OKLCHoklch(58.23% 0.104 83.9)
XYZxyz(19.6613, 19.5393, 4.5693)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987526 #264998
analogous
#983C26 #987526 #829826
triadic
#987526 #269875 #752698
tetradic
#987526 #26983C #264998 #982682
square
#987526 #26983C #264998 #982682
split-complementary
#987526 #268298 #3C2698
monochromatic
#362A0E #674F1A #987526 #C99B32 #D7B361

Accessibility & contrast

On white

4.28
#987526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#987526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987526
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987526#FFFFFF#000000##000000
##9875261.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751A
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#A56A65
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #987526;
/* rgb */ color: rgb(152, 117, 38);
/* oklch */ color: oklch(58.2% 0.104 83.9);
Tailwind
colors: {
  custom: {
    50: '#ba9c66',
    500: '#987526',
    950: '#000000',
  },
}
SCSS
$custom: #987526;
$custom-light: #ba9c66;
$custom-dark: #000000;
JSON
{
  "hex": "#987526",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 41.579,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.10367,
    "h": 83.9
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #987526

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

Preview Lab → · Contrast checker → · Palette generator →

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