#877A16#877A16

#877A16 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.113 H 101.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#877A16
RGBrgb(135, 122, 22)
HSLhsl(53, 72%, 31%)
HSVhsv(53, 84%, 53%)
CMYKcmyk(0%, 9.6%, 83.7%, 47.1%)
CIE-LABlab(50.84, -5.85, 51.34)
CIE-LCHlch(50.84, 51.67, 96.50°)
OKLaboklab(57.42% -0.0222 0.1107)
OKLCHoklch(57.42% 0.113 101.3)
XYZxyz(17.0969, 19.1287, 3.5506)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A16 #162387
analogous
#874116 #877A16 #5B8716
triadic
#877A16 #16877A #7A1687
tetradic
#877A16 #168741 #162387 #87165B
square
#877A16 #168741 #162387 #87165B
split-complementary
#877A16 #165B87 #411687
monochromatic
#1E1B05 #524A0D #877A16 #BCAA1F #DFCC39

Accessibility & contrast

On white

4.35
#877A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#877A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A16
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A16#FFFFFF#000000##000000
##877A161.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#927068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a16;
/* rgb */ color: rgb(135, 122, 22);
/* oklch */ color: oklch(57.4% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#aea05e',
    500: '#877a16',
    950: '#000000',
  },
}
SCSS
$custom: #877a16;
$custom-light: #aea05e;
$custom-dark: #000000;
JSON
{
  "hex": "#877a16",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 53.097,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5742,
    "c": 0.11294,
    "h": 101.3
  },
  "luminance": 0.19128
}

Semantic roles & 50–950 ramp

primary
#877A16
secondary
#3E4CBB
accent
#4EEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877A16

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

Preview Lab → · Contrast checker → · Palette generator →

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