#877E27#877E27

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

Color values

HEX#877E27
RGBrgb(135, 126, 39)
HSLhsl(54, 55%, 34%)
HSVhsv(54, 71%, 53%)
CMYKcmyk(0%, 6.7%, 71.1%, 47.1%)
CIE-LABlab(52.08, -7.30, 46.33)
CIE-LCHlch(52.08, 46.90, 98.95°)
OKLaboklab(58.44% -0.0246 0.1035)
OKLCHoklch(58.44% 0.106 103.4)
XYZxyz(17.8195, 20.2198, 4.8832)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E27 #273087
analogous
#874E27 #877E27 #608727
triadic
#877E27 #27877E #7E2787
tetradic
#877E27 #27874E #273087 #872760
square
#877E27 #27874E #273087 #872760
split-complementary
#877E27 #276087 #4E2787
monochromatic
#28250C #585219 #877E27 #B6AA35 #CFC459

Accessibility & contrast

On white

4.16
#877E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#877E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E27
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E27#FFFFFF#000000##000000
##877E271.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e27;
/* rgb */ color: rgb(135, 126, 39);
/* oklch */ color: oklch(58.4% 0.106 103.4);
Tailwind
colors: {
  custom: {
    50: '#ada367',
    500: '#877e27',
    950: '#000000',
  },
}
SCSS
$custom: #877e27;
$custom-light: #ada367;
$custom-dark: #000000;
JSON
{
  "hex": "#877e27",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 54.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.10635,
    "h": 103.4
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#877E27
secondary
#565FB4
accent
#57DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877E27

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

Preview Lab → · Contrast checker → · Palette generator →

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