#877D22#877D22

#877D22 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.109 H 102.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#877D22
RGBrgb(135, 125, 34)
HSLhsl(54, 60%, 33%)
HSVhsv(54, 75%, 53%)
CMYKcmyk(0%, 7.4%, 74.8%, 47.1%)
CIE-LABlab(51.76, -7.01, 48.03)
CIE-LCHlch(51.76, 48.54, 98.31°)
OKLaboklab(58.18% -0.0243 0.1061)
OKLCHoklch(58.18% 0.109 102.9)
XYZxyz(17.6148, 19.9344, 4.4329)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D22 #222C87
analogous
#874A22 #877D22 #5E8722
triadic
#877D22 #22877D #7D2287
tetradic
#877D22 #22874A #222C87 #87225E
square
#877D22 #22874A #222C87 #87225E
split-complementary
#877D22 #225E87 #4A2287
monochromatic
#252209 #565016 #877D22 #B8AA2E #D3C650

Accessibility & contrast

On white

4.21
#877D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#877D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D22
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D22#FFFFFF#000000##000000
##877D221.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d22;
/* rgb */ color: rgb(135, 125, 34);
/* oklch */ color: oklch(58.2% 0.109 102.9);
Tailwind
colors: {
  custom: {
    50: '#ada264',
    500: '#877d22',
    950: '#000000',
  },
}
SCSS
$custom: #877d22;
$custom-light: #ada264;
$custom-dark: #000000;
JSON
{
  "hex": "#877d22",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 54.059,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58177,
    "c": 0.10887,
    "h": 102.9
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#877D22
secondary
#4E59B7
accent
#55E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877D22

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

Preview Lab → · Contrast checker → · Palette generator →

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