#877D19#877D19

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

Color values

HEX#877D19
RGBrgb(135, 125, 25)
HSLhsl(55, 69%, 31%)
HSVhsv(55, 81%, 53%)
CMYKcmyk(0%, 7.4%, 81.5%, 47.1%)
CIE-LABlab(51.71, -7.40, 51.18)
CIE-LCHlch(51.71, 51.71, 98.23°)
OKLaboklab(58.12% -0.0263 0.111)
OKLCHoklch(58.12% 0.114 103.3)
XYZxyz(17.5016, 19.8891, 3.8366)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D19 #192387
analogous
#874619 #877D19 #5A8719
triadic
#877D19 #19877D #7D1987
tetradic
#877D19 #198746 #192387 #87195A
square
#877D19 #198746 #192387 #87195A
split-complementary
#877D19 #195A87 #461987
monochromatic
#201D06 #534D0F #877D19 #BBAD23 #DBCD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877D19#FFFFFF#000000##000000
##877D191.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)
#8C7D21
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d19;
/* rgb */ color: rgb(135, 125, 25);
/* oklch */ color: oklch(58.1% 0.114 103.3);
Tailwind
colors: {
  custom: {
    50: '#aea260',
    500: '#877d19',
    950: '#000000',
  },
}
SCSS
$custom: #877d19;
$custom-light: #aea260;
$custom-dark: #000000;
JSON
{
  "hex": "#877d19",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 54.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.11407,
    "h": 103.3
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#877D19
secondary
#414CBA
accent
#4CEC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #877D19

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

Preview Lab → · Contrast checker → · Palette generator →

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