#78971E#78971E

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

Color values

HEX#78971E
RGBrgb(120, 151, 30)
HSLhsl(75, 67%, 35%)
HSVhsv(75, 80%, 59%)
CMYKcmyk(20.5%, 0%, 80.1%, 40.8%)
CIE-LABlab(58.25, -27.43, 55.05)
CIE-LCHlch(58.25, 61.51, 116.48°)
OKLaboklab(63.07% -0.0804 0.1208)
OKLCHoklch(63.07% 0.145 123.6)
XYZxyz(19.0469, 26.2199, 5.2855)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78971E #3D1E97
analogous
#97791E #78971E #3B971E
triadic
#78971E #1E7897 #971E78
tetradic
#78971E #1E9779 #3D1E97 #971E3B
square
#78971E #1E9779 #3D1E97 #971E3B
split-complementary
#78971E #1E3B97 #791E97
monochromatic
#27310A #4F6414 #78971E #A1CA28 #B9DD53

Accessibility & contrast

On white

3.36
#78971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##78971E#FFFFFF#000000##000000
##78971E1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78971e;
/* rgb */ color: rgb(120, 151, 30);
/* oklch */ color: oklch(63.1% 0.145 123.6);
Tailwind
colors: {
  custom: {
    50: '#a3b565',
    500: '#78971e',
    950: '#000000',
  },
}
SCSS
$custom: #78971e;
$custom-light: #a3b565;
$custom-dark: #000000;
JSON
{
  "hex": "#78971e",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 75.372,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63074,
    "c": 0.14508,
    "h": 123.6
  },
  "luminance": 0.2622
}

Semantic roles & 50–950 ramp

primary
#78971E
secondary
#6D51C0
accent
#3EEA6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78971E

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

Preview Lab → · Contrast checker → · Palette generator →

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