#78B431#78B431

#78B431 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.4% C 0.171 H 131.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#78B431
RGBrgb(120, 180, 49)
HSLhsl(87, 57%, 45%)
HSVhsv(87, 73%, 71%)
CMYKcmyk(33.3%, 0%, 72.8%, 29.4%)
CIE-LABlab(67.17, -39.76, 57.18)
CIE-LCHlch(67.17, 69.64, 124.81°)
OKLaboklab(70.36% -0.1125 0.1283)
OKLCHoklch(70.36% 0.171 131.2)
XYZxyz(24.6211, 36.8564, 8.7219)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B431 #6D31B4
analogous
#B4AF31 #78B431 #37B431
triadic
#78B431 #3178B4 #B43178
tetradic
#78B431 #31B4AF #6D31B4 #B43137
square
#78B431 #31B4AF #6D31B4 #B43137
split-complementary
#78B431 #3137B4 #AF31B4
monochromatic
#385417 #588424 #78B431 #96D052 #B4DD82

Accessibility & contrast

On white

2.51
#78B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#78B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B431
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B431#FFFFFF#000000##000000
##78B4311.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA619
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#7AAC9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #78b431;
/* rgb */ color: rgb(120, 180, 49);
/* oklch */ color: oklch(70.4% 0.171 131.2);
Tailwind
colors: {
  custom: {
    50: '#a4cb72',
    500: '#78b431',
    950: '#000000',
  },
}
SCSS
$custom: #78b431;
$custom-light: #a4cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#78b431",
  "rgb": {
    "r": 120,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 87.481,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70357,
    "c": 0.17062,
    "h": 131.2
  },
  "luminance": 0.36857
}

Semantic roles & 50–950 ramp

primary
#78B431
secondary
#9D7BC6
accent
#47E08D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78B431

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

Preview Lab → · Contrast checker → · Palette generator →

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