#877C16#877C16

#877C16 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.115 H 102.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#877C16
RGBrgb(135, 124, 22)
HSLhsl(54, 72%, 31%)
HSVhsv(54, 84%, 53%)
CMYKcmyk(0%, 8.1%, 83.7%, 47.1%)
CIE-LABlab(51.41, -6.96, 51.84)
CIE-LCHlch(51.41, 52.30, 97.64°)
OKLaboklab(57.88% -0.0253 0.1118)
OKLCHoklch(57.88% 0.115 102.7)
XYZxyz(17.3450, 19.6249, 3.6333)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C16 #162187
analogous
#874316 #877C16 #598716
triadic
#877C16 #16877C #7C1687
tetradic
#877C16 #168743 #162187 #871659
square
#877C16 #168743 #162187 #871659
split-complementary
#877C16 #165987 #431687
monochromatic
#1E1B05 #524C0D #877C16 #BCAC1F #DFCF39

Accessibility & contrast

On white

4.26
#877C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#877C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C16
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C16#FFFFFF#000000##000000
##877C161.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8C7D1F
Tritanopia (blue-blind)
#92726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877c16;
/* rgb */ color: rgb(135, 124, 22);
/* oklch */ color: oklch(57.9% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#aea15e',
    500: '#877c16',
    950: '#000000',
  },
}
SCSS
$custom: #877c16;
$custom-light: #aea15e;
$custom-dark: #000000;
JSON
{
  "hex": "#877c16",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 54.159,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57876,
    "c": 0.11464,
    "h": 102.7
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#877C16
secondary
#3E4ABB
accent
#4BEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877C16

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

Preview Lab → · Contrast checker → · Palette generator →

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