#78AA31#78AA31

#78AA31 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.9% C 0.158 H 129.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#78AA31
RGBrgb(120, 170, 49)
HSLhsl(85, 55%, 43%)
HSVhsv(85, 71%, 67%)
CMYKcmyk(29.4%, 0%, 71.2%, 33.3%)
CIE-LABlab(64.13, -35.29, 54.14)
CIE-LCHlch(64.13, 64.62, 123.10°)
OKLaboklab(67.88% -0.1003 0.1219)
OKLCHoklch(67.88% 0.158 129.5)
XYZxyz(22.6747, 32.9636, 8.0731)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AA31 #6331AA
analogous
#AA9F31 #78AA31 #3CAA31
triadic
#78AA31 #3178AA #AA3178
tetradic
#78AA31 #31AA9F #6331AA #AA313C
square
#78AA31 #31AA9F #6331AA #AA313C
split-complementary
#78AA31 #313CAA #9F31AA
monochromatic
#354B16 #567A23 #78AA31 #97CC4D #B3D97C

Accessibility & contrast

On white

2.77
#78AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#78AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78AA31
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78AA31#FFFFFF#000000##000000
##78AA311.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1D
Deuteranopia (green-blind)
#AB9A3C
Tritanopia (blue-blind)
#7BA392
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #78aa31;
/* rgb */ color: rgb(120, 170, 49);
/* oklch */ color: oklch(67.9% 0.158 129.5);
Tailwind
colors: {
  custom: {
    50: '#a3c371',
    500: '#78aa31',
    950: '#000000',
  },
}
SCSS
$custom: #78aa31;
$custom-light: #a3c371;
$custom-dark: #000000;
JSON
{
  "hex": "#78aa31",
  "rgb": {
    "r": 120,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 84.793,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67884,
    "c": 0.15789,
    "h": 129.5
  },
  "luminance": 0.32964
}

Semantic roles & 50–950 ramp

primary
#78AA31
secondary
#9575C2
accent
#49DF87
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #78AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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