#877B26#877B26

#877B26 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.104 H 101.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#877B26
RGBrgb(135, 123, 38)
HSLhsl(53, 56%, 34%)
HSVhsv(53, 72%, 53%)
CMYKcmyk(0%, 8.9%, 71.9%, 47.1%)
CIE-LABlab(51.22, -5.69, 45.88)
CIE-LCHlch(51.22, 46.23, 97.07°)
OKLaboklab(57.75% -0.0201 0.1024)
OKLCHoklch(57.75% 0.104 101.1)
XYZxyz(17.4253, 19.4575, 4.6712)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B26 #263287
analogous
#874B26 #877B26 #638726
triadic
#877B26 #26877B #7B2687
tetradic
#877B26 #26874B #263287 #872663
square
#877B26 #26874B #263287 #872663
split-complementary
#877B26 #266387 #4B2687
monochromatic
#27240B #574F19 #877B26 #B7A733 #D0C158

Accessibility & contrast

On white

4.29
#877B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#877B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B26
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B26#FFFFFF#000000##000000
##877B261.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877719
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#92726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b26;
/* rgb */ color: rgb(135, 123, 38);
/* oklch */ color: oklch(57.8% 0.104 101.1);
Tailwind
colors: {
  custom: {
    50: '#ada066',
    500: '#877b26',
    950: '#000000',
  },
}
SCSS
$custom: #877b26;
$custom-light: #ada066;
$custom-dark: #000000;
JSON
{
  "hex": "#877b26",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 52.577,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57753,
    "c": 0.10431,
    "h": 101.1
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#877B26
secondary
#5460B5
accent
#5BDF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B26

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

Preview Lab → · Contrast checker → · Palette generator →

#877B26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva