#78A71F#78A71F

#78A71F is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.0% C 0.164 H 127.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#78A71F
RGBrgb(120, 167, 31)
HSLhsl(81, 69%, 39%)
HSVhsv(81, 81%, 65%)
CMYKcmyk(28.1%, 0%, 81.4%, 34.5%)
CIE-LABlab(63.12, -34.91, 59.17)
CIE-LCHlch(63.12, 68.70, 120.54°)
OKLaboklab(67.03% -0.1006 0.1297)
OKLCHoklch(67.03% 0.164 127.8)
XYZxyz(21.8118, 31.7289, 6.2712)
Luminance0.3173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A71F #4E1FA7
analogous
#A7921F #78A71F #34A71F
triadic
#78A71F #1F78A7 #A71F78
tetradic
#78A71F #1FA792 #4E1FA7 #A71F34
square
#78A71F #1FA792 #4E1FA7 #A71F34
split-complementary
#78A71F #1F34A7 #921FA7
monochromatic
#2E400C #537315 #78A71F #9CD82B #B4E15F

Accessibility & contrast

On white

2.86
#78A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#78A71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A71F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A71F#FFFFFF#000000##000000
##78A71F1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A9982E
Tritanopia (blue-blind)
#7D9F8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #78a71f;
/* rgb */ color: rgb(120, 167, 31);
/* oklch */ color: oklch(67.0% 0.164 127.8);
Tailwind
colors: {
  custom: {
    50: '#a3c168',
    500: '#78a71f',
    950: '#000000',
  },
}
SCSS
$custom: #78a71f;
$custom-light: #a3c168;
$custom-dark: #000000;
JSON
{
  "hex": "#78a71f",
  "rgb": {
    "r": 120,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 80.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67028,
    "c": 0.16414,
    "h": 127.8
  },
  "luminance": 0.31729
}

Semantic roles & 50–950 ramp

primary
#78A71F
secondary
#815CC6
accent
#3CEC79
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #78A71F

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

Preview Lab → · Contrast checker → · Palette generator →

#78A71F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva