#78B031#78B031

#78B031 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.4% C 0.166 H 130.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#78B031
RGBrgb(120, 176, 49)
HSLhsl(86, 56%, 44%)
HSVhsv(86, 72%, 69%)
CMYKcmyk(31.8%, 0%, 72.2%, 31%)
CIE-LABlab(65.95, -37.99, 55.97)
CIE-LCHlch(65.95, 67.64, 124.17°)
OKLaboklab(69.37% -0.1077 0.1258)
OKLCHoklch(69.37% 0.166 130.6)
XYZxyz(23.8253, 35.2647, 8.4566)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B031 #6931B0
analogous
#B0A931 #78B031 #39B031
triadic
#78B031 #3178B0 #B03178
tetradic
#78B031 #31B0A9 #6931B0 #B03139
square
#78B031 #31B0A9 #6931B0 #B03139
split-complementary
#78B031 #3139B0 #A931B0
monochromatic
#375016 #578024 #78B031 #97CE50 #B3DC80

Accessibility & contrast

On white

2.61
#78B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#78B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B031
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B031#FFFFFF#000000##000000
##78B0311.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B09F3D
Tritanopia (blue-blind)
#7BA897
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #78b031;
/* rgb */ color: rgb(120, 176, 49);
/* oklch */ color: oklch(69.4% 0.166 130.6);
Tailwind
colors: {
  custom: {
    50: '#a3c871',
    500: '#78b031',
    950: '#000000',
  },
}
SCSS
$custom: #78b031;
$custom-light: #a3c871;
$custom-dark: #000000;
JSON
{
  "hex": "#78b031",
  "rgb": {
    "r": 120,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 86.457,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69368,
    "c": 0.16556,
    "h": 130.6
  },
  "luminance": 0.35265
}

Semantic roles & 50–950 ramp

primary
#78B031
secondary
#9A78C5
accent
#48E08B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78B031

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

Preview Lab → · Contrast checker → · Palette generator →

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