#877127#877127

#877127 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.096 H 92.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#877127
RGBrgb(135, 113, 39)
HSLhsl(46, 55%, 34%)
HSVhsv(46, 71%, 53%)
CMYKcmyk(0%, 16.3%, 71.1%, 47.1%)
CIE-LABlab(48.40, 0.02, 42.58)
CIE-LCHlch(48.40, 42.58, 89.98°)
OKLaboklab(55.52% -0.0037 0.0956)
OKLCHoklch(55.52% 0.096 92.2)
XYZxyz(16.2639, 17.1086, 4.3647)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877127 #273D87
analogous
#874127 #877127 #6D8727
triadic
#877127 #278771 #712787
tetradic
#877127 #278741 #273D87 #87276D
square
#877127 #278741 #273D87 #87276D
split-complementary
#877127 #276D87 #412787
monochromatic
#28220C #584919 #877127 #B69935 #CFB459

Accessibility & contrast

On white

4.75
#877127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#877127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877127
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877127#FFFFFF#000000##FFFFFF
##8771271.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1D
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877127;
/* rgb */ color: rgb(135, 113, 39);
/* oklch */ color: oklch(55.5% 0.096 92.2);
Tailwind
colors: {
  custom: {
    50: '#ad9965',
    500: '#877127',
    950: '#000000',
  },
}
SCSS
$custom: #877127;
$custom-light: #ad9965;
$custom-dark: #000000;
JSON
{
  "hex": "#877127",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 46.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.09563,
    "h": 92.2
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#877127
secondary
#566BB4
accent
#6BDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #877127

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

Preview Lab → · Contrast checker → · Palette generator →

#877127 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva