#877E30#877E30

#877E30 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.099 H 102.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#877E30
RGBrgb(135, 126, 48)
HSLhsl(54, 48%, 36%)
HSVhsv(54, 64%, 53%)
CMYKcmyk(0%, 6.7%, 64.4%, 47.1%)
CIE-LABlab(52.16, -6.73, 42.42)
CIE-LCHlch(52.16, 42.95, 99.02°)
OKLaboklab(58.53% -0.0219 0.0968)
OKLCHoklch(58.53% 0.099 102.7)
XYZxyz(17.9867, 20.2867, 5.7640)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E30 #303987
analogous
#875230 #877E30 #648730
triadic
#877E30 #30877E #7E3087
tetradic
#877E30 #308752 #303987 #873064
square
#877E30 #308752 #303987 #873064
split-complementary
#877E30 #306487 #523087
monochromatic
#2D2A10 #5A5420 #877E30 #B4A840 #C9BF68

Accessibility & contrast

On white

4.15
#877E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#877E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E30
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E30#FFFFFF#000000##000000
##877E301.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#91766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e30;
/* rgb */ color: rgb(135, 126, 48);
/* oklch */ color: oklch(58.5% 0.099 102.7);
Tailwind
colors: {
  custom: {
    50: '#aca36c',
    500: '#877e30',
    950: '#000000',
  },
}
SCSS
$custom: #877e30;
$custom-light: #aca36c;
$custom-dark: #000000;
JSON
{
  "hex": "#877e30",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 53.793,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.09919,
    "h": 102.7
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#877E30
secondary
#626AB1
accent
#5FD751
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #877E30

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

Preview Lab → · Contrast checker → · Palette generator →

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