#877F32#877F32

#877F32 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.098 H 103.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#877F32
RGBrgb(135, 127, 50)
HSLhsl(54, 46%, 36%)
HSVhsv(54, 63%, 53%)
CMYKcmyk(0%, 5.9%, 63%, 47.1%)
CIE-LABlab(52.47, -7.14, 41.81)
CIE-LCHlch(52.47, 42.42, 99.69°)
OKLaboklab(58.78% -0.0228 0.0958)
OKLCHoklch(58.78% 0.098 103.4)
XYZxyz(18.1574, 20.5606, 6.0291)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F32 #323A87
analogous
#875532 #877F32 #658732
triadic
#877F32 #32877F #7F3287
tetradic
#877F32 #328755 #323A87 #873265
square
#877F32 #328755 #323A87 #873265
split-complementary
#877F32 #326587 #553287
monochromatic
#2E2B11 #5A5521 #877F32 #B4A943 #C8BF6B

Accessibility & contrast

On white

4.11
#877F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#877F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F32
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F32#FFFFFF#000000##000000
##877F321.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B29
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#91776F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f32;
/* rgb */ color: rgb(135, 127, 50);
/* oklch */ color: oklch(58.8% 0.098 103.4);
Tailwind
colors: {
  custom: {
    50: '#aca36d',
    500: '#877f32',
    950: '#000000',
  },
}
SCSS
$custom: #877f32;
$custom-light: #aca36d;
$custom-dark: #000000;
JSON
{
  "hex": "#877f32",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 50
  },
  "hsl": {
    "h": 54.353,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.09844,
    "h": 103.4
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#877F32
secondary
#656CB0
accent
#5FD652
background
#FAFAF6
surface
#F5F3EC
border
#CFCDC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #877F32

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

Preview Lab → · Contrast checker → · Palette generator →

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