#879342#879342

#879342 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.6% C 0.107 H 116.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#879342
RGBrgb(135, 147, 66)
HSLhsl(69, 38%, 42%)
HSVhsv(69, 55%, 58%)
CMYKcmyk(8.2%, 0%, 55.1%, 42.4%)
CIE-LABlab(58.43, -16.58, 40.80)
CIE-LCHlch(58.43, 44.04, 112.11°)
OKLaboklab(63.59% -0.0477 0.0956)
OKLCHoklch(63.59% 0.107 116.5)
XYZxyz(21.4091, 26.4119, 9.1234)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879342 #4E4293
analogous
#937742 #879342 #5F9342
triadic
#879342 #428793 #934287
tetradic
#879342 #429377 #4E4293 #93425F
square
#879342 #429377 #4E4293 #93425F
split-complementary
#879342 #425F93 #774293
monochromatic
#393F1C #60692F #879342 #A9B65C #BFC987

Accessibility & contrast

On white

3.34
#879342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#879342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879342
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879342#FFFFFF#000000##000000
##8793421.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#9B8D47
Tritanopia (blue-blind)
#8E8C81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #879342;
/* rgb */ color: rgb(135, 147, 66);
/* oklch */ color: oklch(63.6% 0.107 116.5);
Tailwind
colors: {
  custom: {
    50: '#acb279',
    500: '#879342',
    950: '#000000',
  },
}
SCSS
$custom: #879342;
$custom-light: #acb279;
$custom-dark: #000000;
JSON
{
  "hex": "#879342",
  "rgb": {
    "r": 135,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 68.889,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63586,
    "c": 0.10687,
    "h": 116.5
  },
  "luminance": 0.26412
}

Semantic roles & 50–950 ramp

primary
#879342
secondary
#857DB4
accent
#5ACE6B
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#101109
muted
#7F807B

Preview Lab

Preview with #879342

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

Preview Lab → · Contrast checker → · Palette generator →

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