#877E21#877E21

#877E21 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.110 H 103.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#877E21
RGBrgb(135, 126, 33)
HSLhsl(55, 61%, 33%)
HSVhsv(55, 76%, 53%)
CMYKcmyk(0%, 6.7%, 75.6%, 47.1%)
CIE-LABlab(52.04, -7.61, 48.68)
CIE-LCHlch(52.04, 49.27, 98.89°)
OKLaboklab(58.4% -0.0261 0.1073)
OKLCHoklch(58.4% 0.11 103.7)
XYZxyz(17.7278, 20.1831, 4.4005)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E21 #212A87
analogous
#874B21 #877E21 #5D8721
triadic
#877E21 #21877E #7E2187
tetradic
#877E21 #21874B #212A87 #87215D
square
#877E21 #21874B #212A87 #87215D
split-complementary
#877E21 #215D87 #4B2187
monochromatic
#252209 #565015 #877E21 #B8AC2D #D4C84F

Accessibility & contrast

On white

4.17
#877E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#877E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E21
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E21#FFFFFF#000000##000000
##877E211.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e21;
/* rgb */ color: rgb(135, 126, 33);
/* oklch */ color: oklch(58.4% 0.110 103.7);
Tailwind
colors: {
  custom: {
    50: '#ada364',
    500: '#877e21',
    950: '#000000',
  },
}
SCSS
$custom: #877e21;
$custom-light: #ada364;
$custom-dark: #000000;
JSON
{
  "hex": "#877e21",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 54.706,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.11044,
    "h": 103.7
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#877E21
secondary
#4D56B7
accent
#52E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877E21

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

Preview Lab → · Contrast checker → · Palette generator →

#877E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva