#877420#877420

#877420 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.1% C 0.103 H 95.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#877420
RGBrgb(135, 116, 32)
HSLhsl(49, 62%, 33%)
HSVhsv(49, 76%, 53%)
CMYKcmyk(0%, 14.1%, 76.3%, 47.1%)
CIE-LABlab(49.19, -2.07, 46.34)
CIE-LCHlch(49.19, 46.38, 92.55°)
OKLaboklab(56.13% -0.0105 0.1021)
OKLCHoklch(56.13% 0.103 95.9)
XYZxyz(16.4986, 17.7469, 3.9227)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877420 #203387
analogous
#874020 #877420 #668720
triadic
#877420 #208774 #742087
tetradic
#877420 #208740 #203387 #872066
square
#877420 #208740 #203387 #872066
split-complementary
#877420 #206687 #402087
monochromatic
#241F09 #564914 #877420 #B89F2C #D5BC4D

Accessibility & contrast

On white

4.62
#877420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#877420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877420
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877420#FFFFFF#000000##FFFFFF
##8774201.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817112
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#926B64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877420;
/* rgb */ color: rgb(135, 116, 32);
/* oklch */ color: oklch(56.1% 0.103 95.9);
Tailwind
colors: {
  custom: {
    50: '#ad9b62',
    500: '#877420',
    950: '#000000',
  },
}
SCSS
$custom: #877420;
$custom-light: #ad9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#877420",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 48.932,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5613,
    "c": 0.10267,
    "h": 95.9
  },
  "luminance": 0.17746
}

Semantic roles & 50–950 ramp

primary
#877420
secondary
#4B5FB8
accent
#61E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877420

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

Preview Lab → · Contrast checker → · Palette generator →

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