#877A26#877A26

#877A26 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.103 H 100.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#877A26
RGBrgb(135, 122, 38)
HSLhsl(52, 56%, 34%)
HSVhsv(52, 72%, 53%)
CMYKcmyk(0%, 9.6%, 71.9%, 47.1%)
CIE-LABlab(50.93, -5.13, 45.59)
CIE-LCHlch(50.93, 45.88, 96.42°)
OKLaboklab(57.53% -0.0185 0.1017)
OKLCHoklch(57.53% 0.103 100.3)
XYZxyz(17.3018, 19.2107, 4.6300)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A26 #263387
analogous
#874A26 #877A26 #648726
triadic
#877A26 #26877A #7A2687
tetradic
#877A26 #26874A #263387 #872664
square
#877A26 #26874A #263387 #872664
split-complementary
#877A26 #266487 #4A2687
monochromatic
#27240B #574F19 #877A26 #B7A533 #D0C058

Accessibility & contrast

On white

4.34
#877A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#877A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A26
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A26#FFFFFF#000000##000000
##877A261.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86761A
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a26;
/* rgb */ color: rgb(135, 122, 38);
/* oklch */ color: oklch(57.5% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#ada066',
    500: '#877a26',
    950: '#000000',
  },
}
SCSS
$custom: #877a26;
$custom-light: #ada066;
$custom-dark: #000000;
JSON
{
  "hex": "#877a26",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 51.959,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.10341,
    "h": 100.3
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#877A26
secondary
#5461B5
accent
#5DDF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A26

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

Preview Lab → · Contrast checker → · Palette generator →

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