#877E19#877E19

#877E19 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.115 H 104.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#877E19
RGBrgb(135, 126, 25)
HSLhsl(55, 69%, 31%)
HSVhsv(55, 81%, 53%)
CMYKcmyk(0%, 6.7%, 81.5%, 47.1%)
CIE-LABlab(52.00, -7.96, 51.43)
CIE-LCHlch(52.00, 52.04, 98.79°)
OKLaboklab(58.35% -0.0278 0.1116)
OKLCHoklch(58.35% 0.115 104)
XYZxyz(17.6288, 20.1435, 3.8790)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E19 #192287
analogous
#874719 #877E19 #598719
triadic
#877E19 #19877E #7E1987
tetradic
#877E19 #198747 #192287 #871959
square
#877E19 #198747 #192287 #871959
split-complementary
#877E19 #195987 #471987
monochromatic
#201E06 #534E0F #877E19 #BBAE23 #DBCF3F

Accessibility & contrast

On white

4.18
#877E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#877E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E19
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E19#FFFFFF#000000##000000
##877E191.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#92756B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e19;
/* rgb */ color: rgb(135, 126, 25);
/* oklch */ color: oklch(58.3% 0.115 104.0);
Tailwind
colors: {
  custom: {
    50: '#aea360',
    500: '#877e19',
    950: '#000000',
  },
}
SCSS
$custom: #877e19;
$custom-light: #aea360;
$custom-dark: #000000;
JSON
{
  "hex": "#877e19",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 55.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.11497,
    "h": 104
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#877E19
secondary
#414BBA
accent
#4BEC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #877E19

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

Preview Lab → · Contrast checker → · Palette generator →

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