#877B22#877B22

#877B22 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.107 H 101.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#877B22
RGBrgb(135, 123, 34)
HSLhsl(53, 60%, 33%)
HSVhsv(53, 75%, 53%)
CMYKcmyk(0%, 8.9%, 74.8%, 47.1%)
CIE-LABlab(51.19, -5.90, 47.48)
CIE-LCHlch(51.19, 47.84, 97.09°)
OKLaboklab(57.72% -0.0212 0.105)
OKLCHoklch(57.72% 0.107 101.4)
XYZxyz(17.3642, 19.4331, 4.3494)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B22 #222E87
analogous
#874822 #877B22 #608722
triadic
#877B22 #22877B #7B2287
tetradic
#877B22 #228748 #222E87 #872260
square
#877B22 #228748 #222E87 #872260
split-complementary
#877B22 #226087 #482287
monochromatic
#252209 #564E16 #877B22 #B8A82E #D3C350

Accessibility & contrast

On white

4.30
#877B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#877B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B22
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B22#FFFFFF#000000##000000
##877B221.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#92726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b22;
/* rgb */ color: rgb(135, 123, 34);
/* oklch */ color: oklch(57.7% 0.107 101.4);
Tailwind
colors: {
  custom: {
    50: '#ada064',
    500: '#877b22',
    950: '#000000',
  },
}
SCSS
$custom: #877b22;
$custom-light: #ada064;
$custom-dark: #000000;
JSON
{
  "hex": "#877b22",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 52.871,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.10706,
    "h": 101.4
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

primary
#877B22
secondary
#4E5BB7
accent
#58E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B22

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

Preview Lab → · Contrast checker → · Palette generator →

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