#878434#878434

#878434 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.9% C 0.102 H 107.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#878434
RGBrgb(135, 132, 52)
HSLhsl(58, 44%, 37%)
HSVhsv(58, 61%, 53%)
CMYKcmyk(0%, 2.2%, 61.5%, 47.1%)
CIE-LABlab(53.92, -9.74, 42.46)
CIE-LCHlch(53.92, 43.57, 102.92°)
OKLaboklab(59.94% -0.0299 0.0974)
OKLCHoklch(59.94% 0.102 107.1)
XYZxyz(18.8634, 21.9019, 6.4820)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878434 #343787
analogous
#875B34 #878434 #618734
triadic
#878434 #348784 #843487
tetradic
#878434 #34875B #343787 #873461
square
#878434 #34875B #343787 #873461
split-complementary
#878434 #346187 #5B3487
monochromatic
#2F2E12 #5B5923 #878434 #B3AF45 #C7C46E

Accessibility & contrast

On white

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

On black

5.38
#878434 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878434
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878434#FFFFFF#000000##000000
##8784341.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F2B
Deuteranopia (green-blind)
#908239
Tritanopia (blue-blind)
#907C73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #878434;
/* rgb */ color: rgb(135, 132, 52);
/* oklch */ color: oklch(59.9% 0.102 107.1);
Tailwind
colors: {
  custom: {
    50: '#aca76f',
    500: '#878434',
    950: '#000000',
  },
}
SCSS
$custom: #878434;
$custom-light: #aca76f;
$custom-dark: #000000;
JSON
{
  "hex": "#878434",
  "rgb": {
    "r": 135,
    "g": 132,
    "b": 52
  },
  "hsl": {
    "h": 57.831,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.10193,
    "h": 107.1
  },
  "luminance": 0.21901
}

Semantic roles & 50–950 ramp

primary
#878434
secondary
#676AAF
accent
#58D454
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #878434

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

Preview Lab → · Contrast checker → · Palette generator →

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