#877F1D#877F1D

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

Color values

HEX#877F1D
RGBrgb(135, 127, 29)
HSLhsl(55, 65%, 32%)
HSVhsv(55, 79%, 53%)
CMYKcmyk(0%, 5.9%, 78.5%, 47.1%)
CIE-LABlab(52.31, -8.35, 50.38)
CIE-LCHlch(52.31, 51.07, 99.41°)
OKLaboklab(58.6% -0.0285 0.1101)
OKLCHoklch(58.6% 0.114 104.5)
XYZxyz(17.8036, 20.4191, 4.1656)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F1D #1D2587
analogous
#874A1D #877F1D #5A871D
triadic
#877F1D #1D877F #7F1D87
tetradic
#877F1D #1D874A #1D2587 #871D5A
square
#877F1D #1D874A #1D2587 #871D5A
split-complementary
#877F1D #1D5A87 #4A1D87
monochromatic
#222007 #555012 #877F1D #B9AE28 #D7CD47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877F1D#FFFFFF#000000##000000
##877F1D1.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)
#8B7A06
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f1d;
/* rgb */ color: rgb(135, 127, 29);
/* oklch */ color: oklch(58.6% 0.114 104.5);
Tailwind
colors: {
  custom: {
    50: '#ada362',
    500: '#877f1d',
    950: '#000000',
  },
}
SCSS
$custom: #877f1d;
$custom-light: #ada362;
$custom-dark: #000000;
JSON
{
  "hex": "#877f1d",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 55.472,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.11376,
    "h": 104.5
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#877F1D
secondary
#464FB9
accent
#4DE840
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #877F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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