#877B27#877B27

#877B27 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.104 H 101.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#877B27
RGBrgb(135, 123, 39)
HSLhsl(53, 55%, 34%)
HSVhsv(53, 71%, 53%)
CMYKcmyk(0%, 8.9%, 71.1%, 47.1%)
CIE-LABlab(51.23, -5.63, 45.46)
CIE-LCHlch(51.23, 45.81, 97.07°)
OKLaboklab(57.76% -0.0198 0.1017)
OKLCHoklch(57.76% 0.104 101)
XYZxyz(17.4416, 19.4641, 4.7573)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B27 #273387
analogous
#874B27 #877B27 #638727
triadic
#877B27 #27877B #7B2787
tetradic
#877B27 #27874B #273387 #872763
square
#877B27 #27874B #273387 #872763
split-complementary
#877B27 #276387 #4B2787
monochromatic
#28240C #585019 #877B27 #B6A635 #CFC059

Accessibility & contrast

On white

4.29
#877B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#877B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B27
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B27#FFFFFF#000000##000000
##877B271.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#92726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b27;
/* rgb */ color: rgb(135, 123, 39);
/* oklch */ color: oklch(57.8% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#ada066',
    500: '#877b27',
    950: '#000000',
  },
}
SCSS
$custom: #877b27;
$custom-light: #ada066;
$custom-dark: #000000;
JSON
{
  "hex": "#877b27",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 52.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.10358,
    "h": 101
  },
  "luminance": 0.19463
}

Semantic roles & 50–950 ramp

primary
#877B27
secondary
#5662B4
accent
#5CDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B27

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

Preview Lab → · Contrast checker → · Palette generator →

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