#877D26#877D26

#877D26 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.106 H 102.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#877D26
RGBrgb(135, 125, 38)
HSLhsl(54, 56%, 34%)
HSVhsv(54, 72%, 53%)
CMYKcmyk(0%, 7.4%, 71.9%, 47.1%)
CIE-LABlab(51.79, -6.80, 46.45)
CIE-LCHlch(51.79, 46.95, 98.33°)
OKLaboklab(58.21% -0.0233 0.1036)
OKLCHoklch(58.21% 0.106 102.7)
XYZxyz(17.6759, 19.9588, 4.7547)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D26 #263087
analogous
#874D26 #877D26 #618726
triadic
#877D26 #26877D #7D2687
tetradic
#877D26 #26874D #263087 #872661
square
#877D26 #26874D #263087 #872661
split-complementary
#877D26 #266187 #4D2687
monochromatic
#27250B #575119 #877D26 #B7A933 #D0C358

Accessibility & contrast

On white

4.21
#877D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#877D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D26
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D26#FFFFFF#000000##000000
##877D261.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897919
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#91746C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d26;
/* rgb */ color: rgb(135, 125, 38);
/* oklch */ color: oklch(58.2% 0.106 102.7);
Tailwind
colors: {
  custom: {
    50: '#ada266',
    500: '#877d26',
    950: '#000000',
  },
}
SCSS
$custom: #877d26;
$custom-light: #ada266;
$custom-dark: #000000;
JSON
{
  "hex": "#877d26",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 53.814,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.10613,
    "h": 102.7
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#877D26
secondary
#545EB5
accent
#58DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877D26

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

Preview Lab → · Contrast checker → · Palette generator →

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