#877C22#877C22

#877C22 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.108 H 102.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#877C22
RGBrgb(135, 124, 34)
HSLhsl(53, 60%, 33%)
HSVhsv(53, 75%, 53%)
CMYKcmyk(0%, 8.1%, 74.8%, 47.1%)
CIE-LABlab(51.48, -6.46, 47.75)
CIE-LCHlch(51.48, 48.19, 97.70°)
OKLaboklab(57.95% -0.0227 0.1055)
OKLCHoklch(57.95% 0.108 102.2)
XYZxyz(17.4888, 19.6825, 4.3909)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C22 #222D87
analogous
#874922 #877C22 #5F8722
triadic
#877C22 #22877C #7C2287
tetradic
#877C22 #228749 #222D87 #87225F
square
#877C22 #228749 #222D87 #87225F
split-complementary
#877C22 #225F87 #492287
monochromatic
#252209 #564F16 #877C22 #B8A92E #D3C550

Accessibility & contrast

On white

4.25
#877C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#877C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C22
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C22#FFFFFF#000000##000000
##877C221.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c22;
/* rgb */ color: rgb(135, 124, 34);
/* oklch */ color: oklch(57.9% 0.108 102.2);
Tailwind
colors: {
  custom: {
    50: '#ada164',
    500: '#877c22',
    950: '#000000',
  },
}
SCSS
$custom: #877c22;
$custom-light: #ada164;
$custom-dark: #000000;
JSON
{
  "hex": "#877c22",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 53.465,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.10796,
    "h": 102.2
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#877C22
secondary
#4E5AB7
accent
#56E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C22

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

Preview Lab → · Contrast checker → · Palette generator →

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