#78B31E#78B31E

#78B31E is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.0% C 0.179 H 130.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#78B31E
RGBrgb(120, 179, 30)
HSLhsl(84, 71%, 41%)
HSVhsv(84, 83%, 70%)
CMYKcmyk(33%, 0%, 83.2%, 29.8%)
CIE-LABlab(66.77, -40.29, 62.70)
CIE-LCHlch(66.77, 74.53, 122.73°)
OKLaboklab(70% -0.1152 0.137)
OKLCHoklch(70% 0.179 130.1)
XYZxyz(24.1001, 36.3262, 6.9699)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B31E #591EB3
analogous
#B3A31E #78B31E #2EB31E
triadic
#78B31E #1E78B3 #B31E78
tetradic
#78B31E #1EB3A3 #591EB3 #B31E2E
square
#78B31E #1EB3A3 #591EB3 #B31E2E
split-complementary
#78B31E #1E2EB3 #A31EB3
monochromatic
#324A0C #557F15 #78B31E #99DD32 #B3E566

Accessibility & contrast

On white

2.54
#78B31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#78B31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B31E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B31E#FFFFFF#000000##000000
##78B31E1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#B4A130
Tritanopia (blue-blind)
#7BAB99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #78b31e;
/* rgb */ color: rgb(120, 179, 30);
/* oklch */ color: oklch(70.0% 0.179 130.1);
Tailwind
colors: {
  custom: {
    50: '#a4ca69',
    500: '#78b31e',
    950: '#000000',
  },
}
SCSS
$custom: #78b31e;
$custom-light: #a4ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#78b31e",
  "rgb": {
    "r": 120,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 83.758,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7,
    "c": 0.17899,
    "h": 130.1
  },
  "luminance": 0.36327
}

Semantic roles & 50–950 ramp

primary
#78B31E
secondary
#8C62CB
accent
#3AEE81
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #78B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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