#877A22#877A22

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

Color values

HEX#877A22
RGBrgb(135, 122, 34)
HSLhsl(52, 60%, 33%)
HSVhsv(52, 75%, 53%)
CMYKcmyk(0%, 9.6%, 74.8%, 47.1%)
CIE-LABlab(50.90, -5.34, 47.20)
CIE-LCHlch(50.90, 47.50, 96.46°)
OKLaboklab(57.5% -0.0196 0.1044)
OKLCHoklch(57.5% 0.106 100.6)
XYZxyz(17.2407, 19.1863, 4.3082)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A22 #222F87
analogous
#874722 #877A22 #618722
triadic
#877A22 #22877A #7A2287
tetradic
#877A22 #228747 #222F87 #872261
square
#877A22 #228747 #222F87 #872261
split-complementary
#877A22 #226187 #472287
monochromatic
#252209 #564E16 #877A22 #B8A62E #D3C250

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877A22#FFFFFF#000000##000000
##877A221.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)
#867613
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a22;
/* rgb */ color: rgb(135, 122, 34);
/* oklch */ color: oklch(57.5% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#ada064',
    500: '#877a22',
    950: '#000000',
  },
}
SCSS
$custom: #877a22;
$custom-light: #ada064;
$custom-dark: #000000;
JSON
{
  "hex": "#877a22",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 52.277,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.10619,
    "h": 100.6
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#877A22
secondary
#4E5CB7
accent
#59E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A22

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

Preview Lab → · Contrast checker → · Palette generator →

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