#877427#877427

#877427 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.2% C 0.098 H 95.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#877427
RGBrgb(135, 116, 39)
HSLhsl(48, 55%, 34%)
HSVhsv(48, 71%, 53%)
CMYKcmyk(0%, 14.1%, 71.1%, 47.1%)
CIE-LABlab(49.24, -1.69, 43.45)
CIE-LCHlch(49.24, 43.48, 92.23°)
OKLaboklab(56.19% -0.0086 0.0974)
OKLCHoklch(56.19% 0.098 95.1)
XYZxyz(16.6041, 17.7890, 4.4781)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877427 #273A87
analogous
#874427 #877427 #6A8727
triadic
#877427 #278774 #742787
tetradic
#877427 #278744 #273A87 #87276A
square
#877427 #278744 #273A87 #87276A
split-complementary
#877427 #276A87 #442787
monochromatic
#28220C #584B19 #877427 #B69D35 #CFB859

Accessibility & contrast

On white

4.61
#877427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#877427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877427
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877427#FFFFFF#000000##FFFFFF
##8774271.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#926B64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877427;
/* rgb */ color: rgb(135, 116, 39);
/* oklch */ color: oklch(56.2% 0.098 95.1);
Tailwind
colors: {
  custom: {
    50: '#ad9b66',
    500: '#877427',
    950: '#000000',
  },
}
SCSS
$custom: #877427;
$custom-light: #ad9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#877427",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 39
  },
  "hsl": {
    "h": 48.125,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.09777,
    "h": 95.1
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#877427
secondary
#5668B4
accent
#67DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877427

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

Preview Lab → · Contrast checker → · Palette generator →

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