#78A331#78A331

#78A331 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.2% C 0.149 H 127.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#78A331
RGBrgb(120, 163, 49)
HSLhsl(83, 54%, 42%)
HSVhsv(83, 70%, 64%)
CMYKcmyk(26.4%, 0%, 69.9%, 36.1%)
CIE-LABlab(62.01, -32.06, 51.97)
CIE-LCHlch(62.01, 61.07, 121.67°)
OKLaboklab(66.16% -0.0915 0.1174)
OKLCHoklch(66.16% 0.149 127.9)
XYZxyz(21.3973, 30.4087, 7.6473)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A331 #5C31A3
analogous
#A39531 #78A331 #3FA331
triadic
#78A331 #3178A3 #A33178
tetradic
#78A331 #31A395 #5C31A3 #A3313F
square
#78A331 #31A395 #5C31A3 #A3313F
split-complementary
#78A331 #313FA3 #9531A3
monochromatic
#334515 #557423 #78A331 #98C849 #B3D678

Accessibility & contrast

On white

2.97
#78A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#78A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A331
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A331#FFFFFF#000000##000000
##78A3311.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981F
Deuteranopia (green-blind)
#A5953B
Tritanopia (blue-blind)
#7C9C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #78a331;
/* rgb */ color: rgb(120, 163, 49);
/* oklch */ color: oklch(66.2% 0.149 127.9);
Tailwind
colors: {
  custom: {
    50: '#a2be70',
    500: '#78a331',
    950: '#000000',
  },
}
SCSS
$custom: #78a331;
$custom-light: #a2be70;
$custom-dark: #000000;
JSON
{
  "hex": "#78a331",
  "rgb": {
    "r": 120,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 82.632,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66157,
    "c": 0.14884,
    "h": 127.9
  },
  "luminance": 0.30409
}

Semantic roles & 50–950 ramp

primary
#78A331
secondary
#8E71BF
accent
#4BDD82
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #78A331

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

Preview Lab → · Contrast checker → · Palette generator →

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