#877C26#877C26

#877C26 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.105 H 101.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#877C26
RGBrgb(135, 124, 38)
HSLhsl(53, 56%, 34%)
HSVhsv(53, 72%, 53%)
CMYKcmyk(0%, 8.1%, 71.9%, 47.1%)
CIE-LABlab(51.50, -6.25, 46.17)
CIE-LCHlch(51.50, 46.59, 97.71°)
OKLaboklab(57.98% -0.0217 0.103)
OKLCHoklch(57.98% 0.105 101.9)
XYZxyz(17.5499, 19.7069, 4.7127)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C26 #263187
analogous
#874C26 #877C26 #628726
triadic
#877C26 #26877C #7C2687
tetradic
#877C26 #26874C #263187 #872662
square
#877C26 #26874C #263187 #872662
split-complementary
#877C26 #266287 #4C2687
monochromatic
#27240B #575019 #877C26 #B7A833 #D0C258

Accessibility & contrast

On white

4.25
#877C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#877C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C26
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C26#FFFFFF#000000##000000
##877C261.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887819
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#91736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c26;
/* rgb */ color: rgb(135, 124, 38);
/* oklch */ color: oklch(58.0% 0.105 101.9);
Tailwind
colors: {
  custom: {
    50: '#ada166',
    500: '#877c26',
    950: '#000000',
  },
}
SCSS
$custom: #877c26;
$custom-light: #ada166;
$custom-dark: #000000;
JSON
{
  "hex": "#877c26",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 53.196,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.10521,
    "h": 101.9
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#877C26
secondary
#545FB5
accent
#5ADF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C26

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

Preview Lab → · Contrast checker → · Palette generator →

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