#879040#879040

#879040 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.105 H 114.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#879040
RGBrgb(135, 144, 64)
HSLhsl(67, 38%, 41%)
HSVhsv(67, 56%, 56%)
CMYKcmyk(6.2%, 0%, 55.6%, 43.5%)
CIE-LABlab(57.53, -15.19, 40.75)
CIE-LCHlch(57.53, 43.49, 110.44°)
OKLaboklab(62.86% -0.044 0.0953)
OKLCHoklch(62.86% 0.105 114.8)
XYZxyz(20.8907, 25.4679, 8.6648)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879040 #494090
analogous
#907140 #879040 #5F9040
triadic
#879040 #408790 #904087
tetradic
#879040 #409071 #494090 #90405F
square
#879040 #409071 #494090 #90405F
split-complementary
#879040 #405F90 #714090
monochromatic
#383B1A #5F662D #879040 #AAB558 #C0C883

Accessibility & contrast

On white

3.45
#879040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#879040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879040
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879040#FFFFFF#000000##000000
##8790401.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#998B45
Tritanopia (blue-blind)
#8F887E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #879040;
/* rgb */ color: rgb(135, 144, 64);
/* oklch */ color: oklch(62.9% 0.105 114.8);
Tailwind
colors: {
  custom: {
    50: '#acb077',
    500: '#879040',
    950: '#000000',
  },
}
SCSS
$custom: #879040;
$custom-light: #acb077;
$custom-dark: #000000;
JSON
{
  "hex": "#879040",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 64
  },
  "hsl": {
    "h": 66.75,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6286,
    "c": 0.10495,
    "h": 114.8
  },
  "luminance": 0.25468
}

Semantic roles & 50–950 ramp

primary
#879040
secondary
#807AB2
accent
#59CE67
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #879040

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

Preview Lab → · Contrast checker → · Palette generator →

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