#78B41F#78B41F

#78B41F is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.3% C 0.180 H 130.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#78B41F
RGBrgb(120, 180, 31)
HSLhsl(84, 71%, 41%)
HSVhsv(84, 83%, 71%)
CMYKcmyk(33.3%, 0%, 82.8%, 29.4%)
CIE-LABlab(67.08, -40.69, 62.72)
CIE-LCHlch(67.08, 74.76, 122.97°)
OKLaboklab(70.25% -0.1162 0.1372)
OKLCHoklch(70.25% 0.18 130.3)
XYZxyz(24.3142, 36.7337, 7.1053)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B41F #5B1FB4
analogous
#B4A61F #78B41F #2EB41F
triadic
#78B41F #1F78B4 #B41F78
tetradic
#78B41F #1FB4A6 #5B1FB4 #B41F2E
square
#78B41F #1FB4A6 #5B1FB4 #B41F2E
split-complementary
#78B41F #1F2EB4 #A61FB4
monochromatic
#324C0D #558016 #78B41F #98DC34 #B3E568

Accessibility & contrast

On white

2.52
#78B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#78B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B41F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B41F#FFFFFF#000000##000000
##78B41F1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#7BAC99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #78b41f;
/* rgb */ color: rgb(120, 180, 31);
/* oklch */ color: oklch(70.3% 0.180 130.3);
Tailwind
colors: {
  custom: {
    50: '#a4cb6a',
    500: '#78b41f',
    950: '#000000',
  },
}
SCSS
$custom: #78b41f;
$custom-light: #a4cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#78b41f",
  "rgb": {
    "r": 120,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 84.161,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70253,
    "c": 0.17979,
    "h": 130.3
  },
  "luminance": 0.36735
}

Semantic roles & 50–950 ramp

primary
#78B41F
secondary
#8D64CB
accent
#3AED82
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #78B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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