#877E26#877E26

#877E26 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.107 H 103.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#877E26
RGBrgb(135, 126, 38)
HSLhsl(54, 56%, 34%)
HSVhsv(54, 72%, 53%)
CMYKcmyk(0%, 6.7%, 71.9%, 47.1%)
CIE-LABlab(52.08, -7.36, 46.74)
CIE-LCHlch(52.08, 47.31, 98.94°)
OKLaboklab(58.44% -0.0248 0.1042)
OKLCHoklch(58.44% 0.107 103.4)
XYZxyz(17.8031, 20.2133, 4.7971)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E26 #262F87
analogous
#874E26 #877E26 #608726
triadic
#877E26 #26877E #7E2687
tetradic
#877E26 #26874E #262F87 #872660
square
#877E26 #26874E #262F87 #872660
split-complementary
#877E26 #266087 #4E2687
monochromatic
#27250B #575119 #877E26 #B7AB33 #D0C558

Accessibility & contrast

On white

4.16
#877E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#877E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E26
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E26#FFFFFF#000000##000000
##877E261.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A18
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#91756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e26;
/* rgb */ color: rgb(135, 126, 38);
/* oklch */ color: oklch(58.4% 0.107 103.4);
Tailwind
colors: {
  custom: {
    50: '#ada366',
    500: '#877e26',
    950: '#000000',
  },
}
SCSS
$custom: #877e26;
$custom-light: #ada366;
$custom-dark: #000000;
JSON
{
  "hex": "#877e26",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 54.433,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58436,
    "c": 0.10708,
    "h": 103.4
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#877E26
secondary
#545DB5
accent
#56DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877E26

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

Preview Lab → · Contrast checker → · Palette generator →

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