#877E16#877E16

#877E16 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.116 H 104.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#877E16
RGBrgb(135, 126, 22)
HSLhsl(55, 72%, 31%)
HSVhsv(55, 84%, 53%)
CMYKcmyk(0%, 6.7%, 83.7%, 47.1%)
CIE-LABlab(51.99, -8.06, 52.33)
CIE-LCHlch(51.99, 52.95, 98.76°)
OKLaboklab(58.33% -0.0284 0.1129)
OKLCHoklch(58.33% 0.116 104.1)
XYZxyz(17.5982, 20.1313, 3.7177)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E16 #161F87
analogous
#874516 #877E16 #578716
triadic
#877E16 #16877E #7E1687
tetradic
#877E16 #168745 #161F87 #871657
square
#877E16 #168745 #161F87 #871657
split-complementary
#877E16 #165787 #451687
monochromatic
#1E1C05 #524D0D #877E16 #BCAF1F #DFD139

Accessibility & contrast

On white

4.18
#877E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#877E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E16
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E16#FFFFFF#000000##000000
##877E161.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8D7E1F
Tritanopia (blue-blind)
#92756B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e16;
/* rgb */ color: rgb(135, 126, 22);
/* oklch */ color: oklch(58.3% 0.116 104.1);
Tailwind
colors: {
  custom: {
    50: '#aea35f',
    500: '#877e16',
    950: '#000000',
  },
}
SCSS
$custom: #877e16;
$custom-light: #aea35f;
$custom-dark: #000000;
JSON
{
  "hex": "#877e16",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 55.221,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58333,
    "c": 0.1164,
    "h": 104.1
  },
  "luminance": 0.20131
}

Semantic roles & 50–950 ramp

primary
#877E16
secondary
#3E48BB
accent
#48EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #877E16

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

Preview Lab → · Contrast checker → · Palette generator →

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