#877D41#877D41

#877D41 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.082 H 100.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#877D41
RGBrgb(135, 125, 65)
HSLhsl(51, 35%, 39%)
HSVhsv(51, 52%, 53%)
CMYKcmyk(0%, 7.4%, 51.9%, 47.1%)
CIE-LABlab(52.06, -4.76, 33.81)
CIE-LCHlch(52.06, 34.14, 98.02°)
OKLaboklab(58.51% -0.0142 0.0803)
OKLCHoklch(58.51% 0.082 100)
XYZxyz(18.2800, 20.2004, 7.9362)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D41 #414B87
analogous
#875A41 #877D41 #6E8741
triadic
#877D41 #41877D #7D4187
tetradic
#877D41 #41875A #414B87 #87416E
square
#877D41 #41875A #414B87 #87416E
split-complementary
#877D41 #416E87 #5A4187
monochromatic
#343119 #5E572D #877D41 #AEA257 #C2B980

Accessibility & contrast

On white

4.17
#877D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#877D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D41
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D41#FFFFFF#000000##000000
##877D411.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3C
Deuteranopia (green-blind)
#8A7E44
Tritanopia (blue-blind)
#90766F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d41;
/* rgb */ color: rgb(135, 125, 65);
/* oklch */ color: oklch(58.5% 0.082 100.0);
Tailwind
colors: {
  custom: {
    50: '#aca277',
    500: '#877d41',
    950: '#000000',
  },
}
SCSS
$custom: #877d41;
$custom-light: #aca277;
$custom-dark: #000000;
JSON
{
  "hex": "#877d41",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 51.429,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.08152,
    "h": 100
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#877D41
secondary
#777FAD
accent
#6DCB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100F09
muted
#7F7E7B

Preview Lab

Preview with #877D41

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

Preview Lab → · Contrast checker → · Palette generator →

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