#877A2D#877A2D

#877A2D is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.098 H 99.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#877A2D
RGBrgb(135, 122, 45)
HSLhsl(51, 50%, 35%)
HSVhsv(51, 67%, 53%)
CMYKcmyk(0%, 9.6%, 66.7%, 47.1%)
CIE-LABlab(50.99, -4.71, 42.56)
CIE-LCHlch(50.99, 42.82, 96.31°)
OKLaboklab(57.59% -0.0165 0.0966)
OKLCHoklch(57.59% 0.098 99.7)
XYZxyz(17.4256, 19.2602, 5.2818)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A2D #2D3A87
analogous
#874D2D #877A2D #67872D
triadic
#877A2D #2D877A #7A2D87
tetradic
#877A2D #2D874D #2D3A87 #872D67
square
#877A2D #2D874D #2D3A87 #872D67
split-complementary
#877A2D #2D6787 #4D2D87
monochromatic
#2B270E #59511E #877A2D #B5A33C #CBBC63

Accessibility & contrast

On white

4.33
#877A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#877A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A2D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A2D#FFFFFF#000000##000000
##877A2D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857724
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#91716A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a2d;
/* rgb */ color: rgb(135, 122, 45);
/* oklch */ color: oklch(57.6% 0.098 99.7);
Tailwind
colors: {
  custom: {
    50: '#ada06a',
    500: '#877a2d',
    950: '#000000',
  },
}
SCSS
$custom: #877a2d;
$custom-light: #ada06a;
$custom-dark: #000000;
JSON
{
  "hex": "#877a2d",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 51.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.09796,
    "h": 99.7
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#877A2D
secondary
#5E6AB2
accent
#62DA4E
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #877A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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