#877F1A#877F1A

#877F1A is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.115 H 104.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#877F1A
RGBrgb(135, 127, 26)
HSLhsl(56, 68%, 32%)
HSVhsv(56, 81%, 53%)
CMYKcmyk(0%, 5.9%, 80.7%, 47.1%)
CIE-LABlab(52.29, -8.47, 51.37)
CIE-LCHlch(52.29, 52.06, 99.36°)
OKLaboklab(58.58% -0.0292 0.1116)
OKLCHoklch(58.58% 0.115 104.6)
XYZxyz(17.7683, 20.4049, 3.9797)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F1A #1A2287
analogous
#87491A #877F1A #59871A
triadic
#877F1A #1A877F #7F1A87
tetradic
#877F1A #1A8749 #1A2287 #871A59
square
#877F1A #1A8749 #1A2287 #871A59
split-complementary
#877F1A #1A5987 #491A87
monochromatic
#201E06 #544F10 #877F1A #BAAF24 #DACF41

Accessibility & contrast

On white

4.13
#877F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#877F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F1A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F1A#FFFFFF#000000##000000
##877F1A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#92766C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f1a;
/* rgb */ color: rgb(135, 127, 26);
/* oklch */ color: oklch(58.6% 0.115 104.6);
Tailwind
colors: {
  custom: {
    50: '#aea360',
    500: '#877f1a',
    950: '#000000',
  },
}
SCSS
$custom: #877f1a;
$custom-light: #aea360;
$custom-dark: #000000;
JSON
{
  "hex": "#877f1a",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 55.596,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.11538,
    "h": 104.6
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#877F1A
secondary
#424BBA
accent
#4AEB3D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #877F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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