#877E1F#877E1F

#877E1F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.112 H 103.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#877E1F
RGBrgb(135, 126, 31)
HSLhsl(55, 63%, 33%)
HSVhsv(55, 77%, 53%)
CMYKcmyk(0%, 6.7%, 77%, 47.1%)
CIE-LABlab(52.03, -7.71, 49.41)
CIE-LCHlch(52.03, 50.01, 98.87°)
OKLaboklab(58.38% -0.0266 0.1085)
OKLCHoklch(58.38% 0.112 103.8)
XYZxyz(17.7006, 20.1723, 4.2573)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E1F #1F2887
analogous
#874A1F #877E1F #5C871F
triadic
#877E1F #1F877E #7E1F87
tetradic
#877E1F #1F874A #1F2887 #871F5C
square
#877E1F #1F874A #1F2887 #871F5C
split-complementary
#877E1F #1F5C87 #4A1F87
monochromatic
#232108 #555014 #877E1F #B9AC2A #D6CA4B

Accessibility & contrast

On white

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

On black

5.03
#877E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E1F#FFFFFF#000000##000000
##877E1F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e1f;
/* rgb */ color: rgb(135, 126, 31);
/* oklch */ color: oklch(58.4% 0.112 103.8);
Tailwind
colors: {
  custom: {
    50: '#ada363',
    500: '#877e1f',
    950: '#000000',
  },
}
SCSS
$custom: #877e1f;
$custom-light: #ada363;
$custom-dark: #000000;
JSON
{
  "hex": "#877e1f",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 54.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.11166,
    "h": 103.8
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#877E1F
secondary
#4A53B8
accent
#50E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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