#877A34#877A34

#877A34 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.092 H 98.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#877A34
RGBrgb(135, 122, 52)
HSLhsl(51, 44%, 37%)
HSVhsv(51, 61%, 53%)
CMYKcmyk(0%, 9.6%, 61.5%, 47.1%)
CIE-LABlab(51.06, -4.21, 39.29)
CIE-LCHlch(51.06, 39.52, 96.11°)
OKLaboklab(57.67% -0.0142 0.0907)
OKLCHoklch(57.67% 0.092 98.9)
XYZxyz(17.5717, 19.3186, 6.0514)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A34 #344187
analogous
#875134 #877A34 #6B8734
triadic
#877A34 #34877A #7A3487
tetradic
#877A34 #348751 #344187 #87346B
square
#877A34 #348751 #344187 #87346B
split-complementary
#877A34 #346B87 #513487
monochromatic
#2F2A12 #5B5223 #877A34 #B3A245 #C7B96E

Accessibility & contrast

On white

4.32
#877A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#877A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A34
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A34#FFFFFF#000000##000000
##877A341.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#91726B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877a34;
/* rgb */ color: rgb(135, 122, 52);
/* oklch */ color: oklch(57.7% 0.092 98.9);
Tailwind
colors: {
  custom: {
    50: '#aca06e',
    500: '#877a34',
    950: '#000000',
  },
}
SCSS
$custom: #877a34;
$custom-light: #aca06e;
$custom-dark: #000000;
JSON
{
  "hex": "#877a34",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 50.602,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.09178,
    "h": 98.9
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#877A34
secondary
#6773AF
accent
#68D454
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877A34

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

Preview Lab → · Contrast checker → · Palette generator →

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