#877F26#877F26

#877F26 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.108 H 104.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#877F26
RGBrgb(135, 127, 38)
HSLhsl(55, 56%, 34%)
HSVhsv(55, 72%, 53%)
CMYKcmyk(0%, 5.9%, 71.9%, 47.1%)
CIE-LABlab(52.36, -7.91, 47.02)
CIE-LCHlch(52.36, 47.68, 99.55°)
OKLaboklab(58.66% -0.0264 0.1048)
OKLCHoklch(58.66% 0.108 104.1)
XYZxyz(17.9316, 20.4703, 4.8400)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F26 #262E87
analogous
#874F26 #877F26 #5F8726
triadic
#877F26 #26877F #7F2687
tetradic
#877F26 #26874F #262E87 #87265F
square
#877F26 #26874F #262E87 #87265F
split-complementary
#877F26 #265F87 #4F2687
monochromatic
#27250B #575219 #877F26 #B7AC33 #D0C658

Accessibility & contrast

On white

4.12
#877F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#877F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F26
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F26#FFFFFF#000000##000000
##877F261.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B18
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#91766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f26;
/* rgb */ color: rgb(135, 127, 38);
/* oklch */ color: oklch(58.7% 0.108 104.1);
Tailwind
colors: {
  custom: {
    50: '#ada366',
    500: '#877f26',
    950: '#000000',
  },
}
SCSS
$custom: #877f26;
$custom-light: #ada366;
$custom-dark: #000000;
JSON
{
  "hex": "#877f26",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 55.052,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.10803,
    "h": 104.1
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#877F26
secondary
#545CB5
accent
#55DF48
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #877F26

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

Preview Lab → · Contrast checker → · Palette generator →

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