#877927#877927

#877927 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.3% C 0.102 H 99.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#877927
RGBrgb(135, 121, 39)
HSLhsl(51, 55%, 34%)
HSVhsv(51, 71%, 53%)
CMYKcmyk(0%, 10.4%, 71.1%, 47.1%)
CIE-LABlab(50.66, -4.52, 44.89)
CIE-LCHlch(50.66, 45.11, 95.75°)
OKLaboklab(57.31% -0.0167 0.1004)
OKLCHoklch(57.31% 0.102 99.4)
XYZxyz(17.1960, 18.9729, 4.6754)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877927 #273587
analogous
#874927 #877927 #658727
triadic
#877927 #278779 #792787
tetradic
#877927 #278749 #273587 #872765
square
#877927 #278749 #273587 #872765
split-complementary
#877927 #276587 #492787
monochromatic
#28240C #584E19 #877927 #B6A435 #CFBE59

Accessibility & contrast

On white

4.38
#877927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#877927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877927
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877927#FFFFFF#000000##000000
##8779271.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877927;
/* rgb */ color: rgb(135, 121, 39);
/* oklch */ color: oklch(57.3% 0.102 99.4);
Tailwind
colors: {
  custom: {
    50: '#ad9f66',
    500: '#877927',
    950: '#000000',
  },
}
SCSS
$custom: #877927;
$custom-light: #ad9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#877927",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 51.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57309,
    "c": 0.10181,
    "h": 99.4
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#877927
secondary
#5663B4
accent
#5FDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877927

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

Preview Lab → · Contrast checker → · Palette generator →

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