#78971A#78971A

#78971A is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.1% C 0.147 H 123.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#78971A
RGBrgb(120, 151, 26)
HSLhsl(75, 71%, 35%)
HSVhsv(75, 83%, 59%)
CMYKcmyk(20.5%, 0%, 82.8%, 40.8%)
CIE-LABlab(58.23, -27.60, 56.20)
CIE-LCHlch(58.23, 62.61, 116.15°)
OKLaboklab(63.05% -0.0811 0.1225)
OKLCHoklch(63.05% 0.147 123.5)
XYZxyz(18.9990, 26.2007, 5.0334)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78971A #391A97
analogous
#97781A #78971A #3A971A
triadic
#78971A #1A7897 #971A78
tetradic
#78971A #1A9778 #391A97 #971A3A
square
#78971A #1A9778 #391A97 #971A3A
split-complementary
#78971A #1A3A97 #781A97
monochromatic
#252F08 #4F6311 #78971A #A1CB23 #BBE04B

Accessibility & contrast

On white

3.37
#78971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#78971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78971A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78971A#FFFFFF#000000##000000
##78971A1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#7E8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #78971a;
/* rgb */ color: rgb(120, 151, 26);
/* oklch */ color: oklch(63.1% 0.147 123.5);
Tailwind
colors: {
  custom: {
    50: '#a3b564',
    500: '#78971a',
    950: '#000000',
  },
}
SCSS
$custom: #78971a;
$custom-light: #a3b564;
$custom-dark: #000000;
JSON
{
  "hex": "#78971a",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 74.88,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63053,
    "c": 0.14695,
    "h": 123.5
  },
  "luminance": 0.26201
}

Semantic roles & 50–950 ramp

primary
#78971A
secondary
#684BC2
accent
#3AED67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #78971A

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

Preview Lab → · Contrast checker → · Palette generator →

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