#877D16#877D16

#877D16 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.116 H 103.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#877D16
RGBrgb(135, 125, 22)
HSLhsl(55, 72%, 31%)
HSVhsv(55, 84%, 53%)
CMYKcmyk(0%, 7.4%, 83.7%, 47.1%)
CIE-LABlab(51.70, -7.51, 52.08)
CIE-LCHlch(51.70, 52.62, 98.20°)
OKLaboklab(58.1% -0.0268 0.1124)
OKLCHoklch(58.1% 0.116 103.4)
XYZxyz(17.4709, 19.8768, 3.6752)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D16 #162087
analogous
#874416 #877D16 #588716
triadic
#877D16 #16877D #7D1687
tetradic
#877D16 #168744 #162087 #871658
square
#877D16 #168744 #162087 #871658
split-complementary
#877D16 #165887 #441687
monochromatic
#1E1C05 #524C0D #877D16 #BCAE1F #DFD039

Accessibility & contrast

On white

4.22
#877D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#877D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D16
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D16#FFFFFF#000000##000000
##877D161.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8C7D1F
Tritanopia (blue-blind)
#92746A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d16;
/* rgb */ color: rgb(135, 125, 22);
/* oklch */ color: oklch(58.1% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#aea25e',
    500: '#877d16',
    950: '#000000',
  },
}
SCSS
$custom: #877d16;
$custom-light: #aea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#877d16",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 54.69,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.11551,
    "h": 103.4
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#877D16
secondary
#3E49BB
accent
#49EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #877D16

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

Preview Lab → · Contrast checker → · Palette generator →

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