#877E2F#877E2F

#877E2F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.100 H 102.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#877E2F
RGBrgb(135, 126, 47)
HSLhsl(54, 48%, 36%)
HSVhsv(54, 65%, 53%)
CMYKcmyk(0%, 6.7%, 65.2%, 47.1%)
CIE-LABlab(52.15, -6.80, 42.87)
CIE-LCHlch(52.15, 43.41, 99.01°)
OKLaboklab(58.52% -0.0222 0.0976)
OKLCHoklch(58.52% 0.1 102.8)
XYZxyz(17.9663, 20.2785, 5.6565)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E2F #2F3887
analogous
#87522F #877E2F #64872F
triadic
#877E2F #2F877E #7E2F87
tetradic
#877E2F #2F8752 #2F3887 #872F64
square
#877E2F #2F8752 #2F3887 #872F64
split-complementary
#877E2F #2F6487 #522F87
monochromatic
#2C290F #5A541F #877E2F #B4A83F #CAC066

Accessibility & contrast

On white

4.15
#877E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#877E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E2F#FFFFFF#000000##000000
##877E2F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e2f;
/* rgb */ color: rgb(135, 126, 47);
/* oklch */ color: oklch(58.5% 0.100 102.8);
Tailwind
colors: {
  custom: {
    50: '#ada36b',
    500: '#877e2f',
    950: '#000000',
  },
}
SCSS
$custom: #877e2f;
$custom-light: #ada36b;
$custom-dark: #000000;
JSON
{
  "hex": "#877e2f",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 53.864,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.10004,
    "h": 102.8
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#877E2F
secondary
#6169B1
accent
#5ED850
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #877E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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