#878337#878337

#878337 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.7% C 0.098 H 106.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#878337
RGBrgb(135, 131, 55)
HSLhsl(57, 42%, 37%)
HSVhsv(57, 59%, 53%)
CMYKcmyk(0%, 3%, 59.3%, 47.1%)
CIE-LABlab(53.66, -8.96, 40.74)
CIE-LCHlch(53.66, 41.72, 102.41°)
OKLaboklab(59.75% -0.0274 0.0942)
OKLCHoklch(59.75% 0.098 106.2)
XYZxyz(18.7981, 21.6599, 6.8043)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878337 #373B87
analogous
#875B37 #878337 #638737
triadic
#878337 #378783 #833787
tetradic
#878337 #37875B #373B87 #873763
square
#878337 #37875B #373B87 #873763
split-complementary
#878337 #376387 #5B3787
monochromatic
#302F14 #5C5925 #878337 #B2AD49 #C6C273

Accessibility & contrast

On white

3.94
#878337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#878337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878337
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878337#FFFFFF#000000##000000
##8783371.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2F
Deuteranopia (green-blind)
#8F823B
Tritanopia (blue-blind)
#907B72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #878337;
/* rgb */ color: rgb(135, 131, 55);
/* oklch */ color: oklch(59.7% 0.098 106.2);
Tailwind
colors: {
  custom: {
    50: '#aca671',
    500: '#878337',
    950: '#000000',
  },
}
SCSS
$custom: #878337;
$custom-light: #aca671;
$custom-dark: #000000;
JSON
{
  "hex": "#878337",
  "rgb": {
    "r": 135,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 57,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.09808,
    "h": 106.2
  },
  "luminance": 0.21659
}

Semantic roles & 50–950 ramp

primary
#878337
secondary
#6B6FAF
accent
#5CD256
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #878337

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

Preview Lab → · Contrast checker → · Palette generator →

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