#877D30#877D30

#877D30 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.098 H 101.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#877D30
RGBrgb(135, 125, 48)
HSLhsl(53, 48%, 36%)
HSVhsv(53, 64%, 53%)
CMYKcmyk(0%, 7.4%, 64.4%, 47.1%)
CIE-LABlab(51.87, -6.18, 42.11)
CIE-LCHlch(51.87, 42.56, 98.34°)
OKLaboklab(58.3% -0.0203 0.0961)
OKLCHoklch(58.3% 0.098 101.9)
XYZxyz(17.8595, 20.0322, 5.7216)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D30 #303A87
analogous
#875130 #877D30 #658730
triadic
#877D30 #30877D #7D3087
tetradic
#877D30 #308751 #303A87 #873065
square
#877D30 #308751 #303A87 #873065
split-complementary
#877D30 #306587 #513087
monochromatic
#2D2910 #5A5320 #877D30 #B4A740 #C9BE68

Accessibility & contrast

On white

4.19
#877D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#877D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D30
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D30#FFFFFF#000000##000000
##877D301.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887927
Deuteranopia (green-blind)
#8B7E34
Tritanopia (blue-blind)
#91746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d30;
/* rgb */ color: rgb(135, 125, 48);
/* oklch */ color: oklch(58.3% 0.098 101.9);
Tailwind
colors: {
  custom: {
    50: '#aca26c',
    500: '#877d30',
    950: '#000000',
  },
}
SCSS
$custom: #877d30;
$custom-light: #aca26c;
$custom-dark: #000000;
JSON
{
  "hex": "#877d30",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 53.103,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.583,
    "c": 0.09821,
    "h": 101.9
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#877D30
secondary
#626BB1
accent
#60D751
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #877D30

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

Preview Lab → · Contrast checker → · Palette generator →

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