#877B16#877B16

#877B16 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.114 H 102.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#877B16
RGBrgb(135, 123, 22)
HSLhsl(54, 72%, 31%)
HSVhsv(54, 84%, 53%)
CMYKcmyk(0%, 8.9%, 83.7%, 47.1%)
CIE-LABlab(51.12, -6.40, 51.59)
CIE-LCHlch(51.12, 51.98, 97.07°)
OKLaboklab(57.65% -0.0237 0.1113)
OKLCHoklch(57.65% 0.114 102)
XYZxyz(17.2203, 19.3755, 3.5917)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B16 #162287
analogous
#874216 #877B16 #5A8716
triadic
#877B16 #16877B #7B1687
tetradic
#877B16 #168742 #162287 #87165A
square
#877B16 #168742 #162287 #87165A
split-complementary
#877B16 #165A87 #421687
monochromatic
#1E1B05 #524B0D #877B16 #BCAB1F #DFCD39

Accessibility & contrast

On white

4.31
#877B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#877B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B16
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B16#FFFFFF#000000##000000
##877B161.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b16;
/* rgb */ color: rgb(135, 123, 22);
/* oklch */ color: oklch(57.6% 0.114 102.0);
Tailwind
colors: {
  custom: {
    50: '#aea05e',
    500: '#877b16',
    950: '#000000',
  },
}
SCSS
$custom: #877b16;
$custom-light: #aea05e;
$custom-dark: #000000;
JSON
{
  "hex": "#877b16",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 53.628,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.11378,
    "h": 102
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#877B16
secondary
#3E4BBB
accent
#4CEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877B16

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

Preview Lab → · Contrast checker → · Palette generator →

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