#878439#878439

#878439 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.097 H 106.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#878439
RGBrgb(135, 132, 57)
HSLhsl(58, 41%, 38%)
HSVhsv(58, 58%, 53%)
CMYKcmyk(0%, 2.2%, 57.8%, 47.1%)
CIE-LABlab(53.97, -9.35, 40.12)
CIE-LCHlch(53.97, 41.19, 103.12°)
OKLaboklab(60% -0.0282 0.0931)
OKLCHoklch(60% 0.097 106.9)
XYZxyz(18.9820, 21.9494, 7.1068)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878439 #393C87
analogous
#875D39 #878439 #638739
triadic
#878439 #398784 #843987
tetradic
#878439 #39875D #393C87 #873963
square
#878439 #39875D #393C87 #873963
split-complementary
#878439 #396387 #5D3987
monochromatic
#313015 #5C5A27 #878439 #B2AE4B #C5C275

Accessibility & contrast

On white

3.90
#878439 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#878439 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878439
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878439#FFFFFF#000000##000000
##8784391.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F31
Deuteranopia (green-blind)
#90823D
Tritanopia (blue-blind)
#907C74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #878439;
/* rgb */ color: rgb(135, 132, 57);
/* oklch */ color: oklch(60.0% 0.097 106.9);
Tailwind
colors: {
  custom: {
    50: '#aca772',
    500: '#878439',
    950: '#000000',
  },
}
SCSS
$custom: #878439;
$custom-light: #aca772;
$custom-dark: #000000;
JSON
{
  "hex": "#878439",
  "rgb": {
    "r": 135,
    "g": 132,
    "b": 57
  },
  "hsl": {
    "h": 57.692,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.09729,
    "h": 106.9
  },
  "luminance": 0.21949
}

Semantic roles & 50–950 ramp

primary
#878439
secondary
#6E70AE
accent
#5CD057
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #878439

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

Preview Lab → · Contrast checker → · Palette generator →

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