#878D32#878D32

#878D32 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.0% C 0.114 H 112.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#878D32
RGBrgb(135, 141, 50)
HSLhsl(64, 48%, 37%)
HSVhsv(64, 65%, 55%)
CMYKcmyk(4.3%, 0%, 64.5%, 44.7%)
CIE-LABlab(56.52, -14.72, 46.17)
CIE-LCHlch(56.52, 48.46, 107.68°)
OKLaboklab(62.01% -0.0442 0.105)
OKLCHoklch(62.01% 0.114 112.8)
XYZxyz(20.0928, 24.4314, 6.6743)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878D32 #38328D
analogous
#8D6532 #878D32 #5A8D32
triadic
#878D32 #32878D #8D3287
tetradic
#878D32 #328D65 #38328D #8D325A
square
#878D32 #328D65 #38328D #8D325A
split-complementary
#878D32 #325A8D #65328D
monochromatic
#303312 #5C6022 #878D32 #B2BA42 #C5CC6E

Accessibility & contrast

On white

3.57
#878D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#878D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878D32
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878D32#FFFFFF#000000##000000
##878D321.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978726
Deuteranopia (green-blind)
#978938
Tritanopia (blue-blind)
#90857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #878d32;
/* rgb */ color: rgb(135, 141, 50);
/* oklch */ color: oklch(62.0% 0.114 112.8);
Tailwind
colors: {
  custom: {
    50: '#acae6f',
    500: '#878d32',
    950: '#000000',
  },
}
SCSS
$custom: #878d32;
$custom-light: #acae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#878d32",
  "rgb": {
    "r": 135,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 63.956,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62007,
    "c": 0.11393,
    "h": 112.8
  },
  "luminance": 0.24431
}

Semantic roles & 50–950 ramp

primary
#878D32
secondary
#6D68B3
accent
#51D759
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #878D32

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

Preview Lab → · Contrast checker → · Palette generator →

#878D32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva