#877120#877120

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

Color values

HEX#877120
RGBrgb(135, 113, 32)
HSLhsl(47, 62%, 33%)
HSVhsv(47, 76%, 53%)
CMYKcmyk(0%, 16.3%, 76.3%, 47.1%)
CIE-LABlab(48.34, -0.36, 45.53)
CIE-LCHlch(48.34, 45.53, 90.45°)
OKLaboklab(55.46% -0.0056 0.1004)
OKLCHoklch(55.46% 0.101 93.2)
XYZxyz(16.1584, 17.0664, 3.8093)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877120 #203687
analogous
#873D20 #877120 #6A8720
triadic
#877120 #208771 #712087
tetradic
#877120 #20873D #203687 #87206A
square
#877120 #20873D #203687 #87206A
split-complementary
#877120 #206A87 #3D2087
monochromatic
#241E09 #564814 #877120 #B89A2C #D5B84D

Accessibility & contrast

On white

4.76
#877120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#877120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877120
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877120#FFFFFF#000000##FFFFFF
##8771201.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F13
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#926761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877120;
/* rgb */ color: rgb(135, 113, 32);
/* oklch */ color: oklch(55.5% 0.101 93.2);
Tailwind
colors: {
  custom: {
    50: '#ad9962',
    500: '#877120',
    950: '#000000',
  },
}
SCSS
$custom: #877120;
$custom-light: #ad9962;
$custom-dark: #000000;
JSON
{
  "hex": "#877120",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 47.184,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.10057,
    "h": 93.2
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#877120
secondary
#4B62B8
accent
#66E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #877120

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

Preview Lab → · Contrast checker → · Palette generator →

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