#877B30#877B30

#877B30 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.096 H 100.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#877B30
RGBrgb(135, 123, 48)
HSLhsl(52, 48%, 36%)
HSVhsv(52, 64%, 53%)
CMYKcmyk(0%, 8.9%, 64.4%, 47.1%)
CIE-LABlab(51.30, -5.06, 41.49)
CIE-LCHlch(51.30, 41.80, 96.95°)
OKLaboklab(57.85% -0.0171 0.0948)
OKLCHoklch(57.85% 0.096 100.2)
XYZxyz(17.6088, 19.5310, 5.6380)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B30 #303C87
analogous
#874F30 #877B30 #678730
triadic
#877B30 #30877B #7B3087
tetradic
#877B30 #30874F #303C87 #873067
square
#877B30 #30874F #303C87 #873067
split-complementary
#877B30 #306787 #4F3087
monochromatic
#2D2910 #5A5220 #877B30 #B4A440 #C9BC68

Accessibility & contrast

On white

4.28
#877B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#877B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B30
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B30#FFFFFF#000000##000000
##877B301.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867827
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#91726B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b30;
/* rgb */ color: rgb(135, 123, 48);
/* oklch */ color: oklch(57.8% 0.096 100.2);
Tailwind
colors: {
  custom: {
    50: '#aca06c',
    500: '#877b30',
    950: '#000000',
  },
}
SCSS
$custom: #877b30;
$custom-light: #aca06c;
$custom-dark: #000000;
JSON
{
  "hex": "#877b30",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 48
  },
  "hsl": {
    "h": 51.724,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.09631,
    "h": 100.2
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#877B30
secondary
#626DB1
accent
#63D751
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877B30

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

Preview Lab → · Contrast checker → · Palette generator →

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