#877D1E#877D1E

#877D1E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.111 H 103.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#877D1E
RGBrgb(135, 125, 30)
HSLhsl(54, 64%, 32%)
HSVhsv(54, 78%, 53%)
CMYKcmyk(0%, 7.4%, 77.8%, 47.1%)
CIE-LABlab(51.74, -7.20, 49.50)
CIE-LCHlch(51.74, 50.02, 98.28°)
OKLaboklab(58.15% -0.0252 0.1085)
OKLCHoklch(58.15% 0.111 103.1)
XYZxyz(17.5604, 19.9126, 4.1466)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D1E #1E2887
analogous
#87491E #877D1E #5C871E
triadic
#877D1E #1E877D #7D1E87
tetradic
#877D1E #1E8749 #1E2887 #871E5C
square
#877D1E #1E8749 #1E2887 #871E5C
split-complementary
#877D1E #1E5C87 #491E87
monochromatic
#232008 #554F13 #877D1E #B9AB29 #D7C949

Accessibility & contrast

On white

4.21
#877D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#877D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D1E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D1E#FFFFFF#000000##000000
##877D1E1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d1e;
/* rgb */ color: rgb(135, 125, 30);
/* oklch */ color: oklch(58.1% 0.111 103.1);
Tailwind
colors: {
  custom: {
    50: '#ada262',
    500: '#877d1e',
    950: '#000000',
  },
}
SCSS
$custom: #877d1e;
$custom-light: #ada262;
$custom-dark: #000000;
JSON
{
  "hex": "#877d1e",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 54.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58149,
    "c": 0.11135,
    "h": 103.1
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#877D1E
secondary
#4853B9
accent
#51E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #877D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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