#878426#878426

#878426 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.8% C 0.113 H 107.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#878426
RGBrgb(135, 132, 38)
HSLhsl(58, 56%, 34%)
HSVhsv(58, 72%, 53%)
CMYKcmyk(0%, 2.2%, 71.9%, 47.1%)
CIE-LABlab(53.81, -10.64, 48.45)
CIE-LCHlch(53.81, 49.61, 102.39°)
OKLaboklab(59.81% -0.0341 0.1078)
OKLCHoklch(59.81% 0.113 107.6)
XYZxyz(18.5935, 21.7940, 5.0606)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878426 #262987
analogous
#875426 #878426 #5A8726
triadic
#878426 #268784 #842687
tetradic
#878426 #268754 #262987 #87265A
square
#878426 #268754 #262987 #87265A
split-complementary
#878426 #265A87 #542687
monochromatic
#27270B #575519 #878426 #B7B333 #D0CC58

Accessibility & contrast

On white

3.92
#878426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#878426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878426
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878426#FFFFFF#000000##000000
##8784261.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F17
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#917B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #878426;
/* rgb */ color: rgb(135, 132, 38);
/* oklch */ color: oklch(59.8% 0.113 107.6);
Tailwind
colors: {
  custom: {
    50: '#ada767',
    500: '#878426',
    950: '#000000',
  },
}
SCSS
$custom: #878426;
$custom-light: #ada767;
$custom-dark: #000000;
JSON
{
  "hex": "#878426",
  "rgb": {
    "r": 135,
    "g": 132,
    "b": 38
  },
  "hsl": {
    "h": 58.144,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59813,
    "c": 0.11303,
    "h": 107.6
  },
  "luminance": 0.21793
}

Semantic roles & 50–950 ramp

primary
#878426
secondary
#5457B5
accent
#4DDF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878426

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

Preview Lab → · Contrast checker → · Palette generator →

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