#877C30#877C30

#877C30 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.097 H 101.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#877C30
RGBrgb(135, 124, 48)
HSLhsl(52, 48%, 36%)
HSVhsv(52, 64%, 53%)
CMYKcmyk(0%, 8.1%, 64.4%, 47.1%)
CIE-LABlab(51.59, -5.62, 41.80)
CIE-LCHlch(51.59, 42.18, 97.66°)
OKLaboklab(58.07% -0.0187 0.0954)
OKLCHoklch(58.07% 0.097 101.1)
XYZxyz(17.7335, 19.7803, 5.6796)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C30 #303B87
analogous
#875030 #877C30 #668730
triadic
#877C30 #30877C #7C3087
tetradic
#877C30 #308750 #303B87 #873066
square
#877C30 #308750 #303B87 #873066
split-complementary
#877C30 #306687 #503087
monochromatic
#2D2910 #5A5320 #877C30 #B4A540 #C9BD68

Accessibility & contrast

On white

4.24
#877C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#877C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C30
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C30#FFFFFF#000000##000000
##877C301.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877827
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#91736C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c30;
/* rgb */ color: rgb(135, 124, 48);
/* oklch */ color: oklch(58.1% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#aca16c',
    500: '#877c30',
    950: '#000000',
  },
}
SCSS
$custom: #877c30;
$custom-light: #aca16c;
$custom-dark: #000000;
JSON
{
  "hex": "#877c30",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 48
  },
  "hsl": {
    "h": 52.414,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.09725,
    "h": 101.1
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#877C30
secondary
#626CB1
accent
#62D751
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877C30

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

Preview Lab → · Contrast checker → · Palette generator →

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