#78971F#78971F

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

Color values

HEX#78971F
RGBrgb(120, 151, 31)
HSLhsl(76, 66%, 36%)
HSVhsv(76, 79%, 59%)
CMYKcmyk(20.5%, 0%, 79.5%, 40.8%)
CIE-LABlab(58.25, -27.38, 54.75)
CIE-LCHlch(58.25, 61.21, 116.57°)
OKLaboklab(63.08% -0.0802 0.1203)
OKLCHoklch(63.08% 0.145 123.7)
XYZxyz(19.0599, 26.2251, 5.3539)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78971F #3E1F97
analogous
#977A1F #78971F #3C971F
triadic
#78971F #1F7897 #971F78
tetradic
#78971F #1F977A #3E1F97 #971F3C
square
#78971F #1F977A #3E1F97 #971F3C
split-complementary
#78971F #1F3C97 #7A1F97
monochromatic
#27310A #506415 #78971F #A0CA29 #B9DC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78971F#FFFFFF#000000##000000
##78971F1.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)
#9C8C2B
Tritanopia (blue-blind)
#7E8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #78971f;
/* rgb */ color: rgb(120, 151, 31);
/* oklch */ color: oklch(63.1% 0.145 123.7);
Tailwind
colors: {
  custom: {
    50: '#a3b566',
    500: '#78971f',
    950: '#000000',
  },
}
SCSS
$custom: #78971f;
$custom-light: #a3b566;
$custom-dark: #000000;
JSON
{
  "hex": "#78971f",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 75.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.14458,
    "h": 123.7
  },
  "luminance": 0.26225
}

Semantic roles & 50–950 ramp

primary
#78971F
secondary
#6F52BF
accent
#3FE96B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78971F

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

Preview Lab → · Contrast checker → · Palette generator →

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