#877526#877526

#877526 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.4% C 0.099 H 96.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#877526
RGBrgb(135, 117, 38)
HSLhsl(49, 56%, 34%)
HSVhsv(49, 72%, 53%)
CMYKcmyk(0%, 13.3%, 71.9%, 47.1%)
CIE-LABlab(49.51, -2.32, 44.16)
CIE-LCHlch(49.51, 44.22, 93.01°)
OKLaboklab(56.4% -0.0105 0.0987)
OKLCHoklch(56.4% 0.099 96.1)
XYZxyz(16.7036, 18.0143, 4.4306)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877526 #263887
analogous
#874526 #877526 #698726
triadic
#877526 #268775 #752687
tetradic
#877526 #268745 #263887 #872669
square
#877526 #268745 #263887 #872669
split-complementary
#877526 #266987 #452687
monochromatic
#27220B #574C19 #877526 #B79E33 #D0BA58

Accessibility & contrast

On white

4.56
#877526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#877526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877526
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877526#FFFFFF#000000##000000
##8775261.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#926C65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #877526;
/* rgb */ color: rgb(135, 117, 38);
/* oklch */ color: oklch(56.4% 0.099 96.1);
Tailwind
colors: {
  custom: {
    50: '#ad9c65',
    500: '#877526',
    950: '#000000',
  },
}
SCSS
$custom: #877526;
$custom-light: #ad9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#877526",
  "rgb": {
    "r": 135,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 48.866,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.09928,
    "h": 96.1
  },
  "luminance": 0.18013
}

Semantic roles & 50–950 ramp

primary
#877526
secondary
#5466B5
accent
#64DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877526

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

Preview Lab → · Contrast checker → · Palette generator →

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