#878732#878732

#878732 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.107 H 109.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#878732
RGBrgb(135, 135, 50)
HSLhsl(60, 46%, 36%)
HSVhsv(60, 63%, 53%)
CMYKcmyk(0%, 0%, 63%, 47.1%)
CIE-LABlab(54.77, -11.51, 44.31)
CIE-LCHlch(54.77, 45.78, 104.57°)
OKLaboklab(60.61% -0.0352 0.1011)
OKLCHoklch(60.61% 0.107 109.2)
XYZxyz(19.2320, 22.7097, 6.3873)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878732 #323287
analogous
#875D32 #878732 #5D8732
triadic
#878732 #328787 #873287
tetradic
#878732 #32875D #323287 #87325D
square
#878732 #32875D #323287 #87325D
split-complementary
#878732 #325D87 #5D3287
monochromatic
#2E2E11 #5A5A21 #878732 #B4B443 #C8C86B

Accessibility & contrast

On white

3.79
#878732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#878732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878732
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878732#FFFFFF#000000##000000
##8787321.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928228
Deuteranopia (green-blind)
#938437
Tritanopia (blue-blind)
#907F75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #878732;
/* rgb */ color: rgb(135, 135, 50);
/* oklch */ color: oklch(60.6% 0.107 109.2);
Tailwind
colors: {
  custom: {
    50: '#aca96e',
    500: '#878732',
    950: '#000000',
  },
}
SCSS
$custom: #878732;
$custom-light: #aca96e;
$custom-dark: #000000;
JSON
{
  "hex": "#878732",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.10702,
    "h": 109.2
  },
  "luminance": 0.22709
}

Semantic roles & 50–950 ramp

primary
#878732
secondary
#6565B0
accent
#52D652
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #878732

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

Preview Lab → · Contrast checker → · Palette generator →

#878732 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva