#877F41#877F41

#877F41 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.084 H 102.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#877F41
RGBrgb(135, 127, 65)
HSLhsl(53, 35%, 39%)
HSVhsv(53, 52%, 53%)
CMYKcmyk(0%, 5.9%, 51.9%, 47.1%)
CIE-LABlab(52.63, -5.88, 34.49)
CIE-LCHlch(52.63, 34.99, 99.67°)
OKLaboklab(58.96% -0.0174 0.0818)
OKLCHoklch(58.96% 0.084 102)
XYZxyz(18.5357, 20.7119, 8.0214)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F41 #414987
analogous
#875C41 #877F41 #6C8741
triadic
#877F41 #41877F #7F4187
tetradic
#877F41 #41875C #414987 #87416C
square
#877F41 #41875C #414987 #87416C
split-complementary
#877F41 #416C87 #5C4187
monochromatic
#343119 #5E582D #877F41 #AEA457 #C2BB80

Accessibility & contrast

On white

4.08
#877F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#877F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F41
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F41#FFFFFF#000000##000000
##877F411.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3B
Deuteranopia (green-blind)
#8B7F44
Tritanopia (blue-blind)
#907871
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #877f41;
/* rgb */ color: rgb(135, 127, 65);
/* oklch */ color: oklch(59.0% 0.084 102.0);
Tailwind
colors: {
  custom: {
    50: '#aca377',
    500: '#877f41',
    950: '#000000',
  },
}
SCSS
$custom: #877f41;
$custom-light: #aca377;
$custom-dark: #000000;
JSON
{
  "hex": "#877f41",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 53.143,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.08361,
    "h": 102
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#877F41
secondary
#777DAD
accent
#69CB5D
background
#FAFAF7
surface
#F4F3ED
border
#CECDC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #877F41

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

Preview Lab → · Contrast checker → · Palette generator →

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