#877D33#877D33

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

Color values

HEX#877D33
RGBrgb(135, 125, 51)
HSLhsl(53, 45%, 36%)
HSVhsv(53, 62%, 53%)
CMYKcmyk(0%, 7.4%, 62.2%, 47.1%)
CIE-LABlab(51.90, -5.96, 40.72)
CIE-LCHlch(51.90, 41.15, 98.33°)
OKLaboklab(58.33% -0.0193 0.0936)
OKLCHoklch(58.33% 0.096 101.7)
XYZxyz(17.9235, 20.0578, 6.0588)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D33 #333D87
analogous
#875333 #877D33 #678733
triadic
#877D33 #33877D #7D3387
tetradic
#877D33 #338753 #333D87 #873367
square
#877D33 #338753 #333D87 #873367
split-complementary
#877D33 #336787 #533387
monochromatic
#2E2B11 #5B5422 #877D33 #B3A644 #C8BD6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877D33#FFFFFF#000000##000000
##877D331.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)
#88792B
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d33;
/* rgb */ color: rgb(135, 125, 51);
/* oklch */ color: oklch(58.3% 0.096 101.7);
Tailwind
colors: {
  custom: {
    50: '#aca26e',
    500: '#877d33',
    950: '#000000',
  },
}
SCSS
$custom: #877d33;
$custom-light: #aca26e;
$custom-dark: #000000;
JSON
{
  "hex": "#877d33",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 52.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.09555,
    "h": 101.7
  },
  "luminance": 0.20057
}

Semantic roles & 50–950 ramp

primary
#877D33
secondary
#666FB0
accent
#62D553
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #877D33

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

Preview Lab → · Contrast checker → · Palette generator →

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