#877826#877826

#877826 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.102 H 98.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#877826
RGBrgb(135, 120, 38)
HSLhsl(51, 56%, 34%)
HSVhsv(51, 72%, 53%)
CMYKcmyk(0%, 11.1%, 71.9%, 47.1%)
CIE-LABlab(50.36, -4.01, 45.02)
CIE-LCHlch(50.36, 45.20, 95.09°)
OKLaboklab(57.08% -0.0153 0.1005)
OKLCHoklch(57.08% 0.102 98.7)
XYZxyz(17.0588, 18.7246, 4.5490)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877826 #263587
analogous
#874826 #877826 #668726
triadic
#877826 #268778 #782687
tetradic
#877826 #268748 #263587 #872666
square
#877826 #268748 #263587 #872666
split-complementary
#877826 #266687 #482687
monochromatic
#27230B #574E19 #877826 #B7A233 #D0BD58

Accessibility & contrast

On white

4.43
#877826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#877826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877826
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877826#FFFFFF#000000##000000
##8778261.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751A
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #877826;
/* rgb */ color: rgb(135, 120, 38);
/* oklch */ color: oklch(57.1% 0.102 98.7);
Tailwind
colors: {
  custom: {
    50: '#ad9e66',
    500: '#877826',
    950: '#000000',
  },
}
SCSS
$custom: #877826;
$custom-light: #ad9e66;
$custom-dark: #000000;
JSON
{
  "hex": "#877826",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 50.722,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.10169,
    "h": 98.7
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

primary
#877826
secondary
#5463B5
accent
#60DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877826

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

Preview Lab → · Contrast checker → · Palette generator →

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