#877A27#877A27

#877A27 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.103 H 100.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#877A27
RGBrgb(135, 122, 39)
HSLhsl(52, 55%, 34%)
HSVhsv(52, 71%, 53%)
CMYKcmyk(0%, 9.6%, 71.1%, 47.1%)
CIE-LABlab(50.94, -5.08, 45.18)
CIE-LCHlch(50.94, 45.46, 96.41°)
OKLaboklab(57.54% -0.0182 0.1011)
OKLCHoklch(57.54% 0.103 100.2)
XYZxyz(17.3182, 19.2172, 4.7161)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A27 #273487
analogous
#874A27 #877A27 #648727
triadic
#877A27 #27877A #7A2787
tetradic
#877A27 #27874A #273487 #872764
square
#877A27 #27874A #273487 #872764
split-complementary
#877A27 #276487 #4A2787
monochromatic
#28240C #584F19 #877A27 #B6A535 #CFBF59

Accessibility & contrast

On white

4.34
#877A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#877A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A27
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A27#FFFFFF#000000##000000
##877A271.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86761B
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a27;
/* rgb */ color: rgb(135, 122, 39);
/* oklch */ color: oklch(57.5% 0.103 100.2);
Tailwind
colors: {
  custom: {
    50: '#ada066',
    500: '#877a27',
    950: '#000000',
  },
}
SCSS
$custom: #877a27;
$custom-light: #ada066;
$custom-dark: #000000;
JSON
{
  "hex": "#877a27",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 51.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.10268,
    "h": 100.2
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#877A27
secondary
#5663B4
accent
#5EDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A27

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

Preview Lab → · Contrast checker → · Palette generator →

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