#78874A#78874A

#78874A is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.6% C 0.087 H 120.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#78874A
RGBrgb(120, 135, 74)
HSLhsl(75, 29%, 41%)
HSVhsv(75, 45%, 53%)
CMYKcmyk(11.1%, 0%, 45.2%, 47.1%)
CIE-LABlab(53.83, -15.76, 30.89)
CIE-LCHlch(53.83, 34.68, 117.02°)
OKLaboklab(59.65% -0.0438 0.0747)
OKLCHoklch(59.65% 0.087 120.4)
XYZxyz(17.6458, 21.8155, 9.7584)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78874A #594A87
analogous
#87774A #78874A #59874A
triadic
#78874A #4A7887 #874A78
tetradic
#78874A #4A8777 #594A87 #874A59
square
#78874A #4A8777 #594A87 #874A59
split-complementary
#78874A #4A5987 #774A87
monochromatic
#32381F #555F34 #78874A #99AA64 #B3C08C

Accessibility & contrast

On white

3.92
#78874A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#78874A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78874A#FFFFFF#000000##000000
##78874A1.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)
#8E8145
Deuteranopia (green-blind)
#8C814D
Tritanopia (blue-blind)
#7D8178
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #78874a;
/* rgb */ color: rgb(120, 135, 74);
/* oklch */ color: oklch(59.6% 0.087 120.4);
Tailwind
colors: {
  custom: {
    50: '#a0aa7e',
    500: '#78874a',
    950: '#000000',
  },
}
SCSS
$custom: #78874a;
$custom-light: #a0aa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#78874a",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 74.754,
    "s": 29.187,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.08661,
    "h": 120.4
  },
  "luminance": 0.21815
}

Semantic roles & 50–950 ramp

primary
#78874A
secondary
#8C81AC
accent
#62C57B
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0F100A
muted
#7E7F7C

Preview Lab

Preview with #78874A

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

Preview Lab → · Contrast checker → · Palette generator →

#78874A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva