#78B331#78B331

#78B331 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.1% C 0.169 H 131.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#78B331
RGBrgb(120, 179, 49)
HSLhsl(87, 57%, 45%)
HSVhsv(87, 73%, 70%)
CMYKcmyk(33%, 0%, 72.6%, 29.8%)
CIE-LABlab(66.87, -39.32, 56.88)
CIE-LCHlch(66.87, 69.14, 124.65°)
OKLaboklab(70.11% -0.1113 0.1277)
OKLCHoklch(70.11% 0.169 131.1)
XYZxyz(24.4200, 36.4542, 8.6548)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B331 #6C31B3
analogous
#B3AD31 #78B331 #37B331
triadic
#78B331 #3178B3 #B33178
tetradic
#78B331 #31B3AD #6C31B3 #B33137
square
#78B331 #31B3AD #6C31B3 #B33137
split-complementary
#78B331 #3137B3 #AD31B3
monochromatic
#385317 #588324 #78B331 #96D052 #B3DD82

Accessibility & contrast

On white

2.53
#78B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#78B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B331
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B331#FFFFFF#000000##000000
##78B3311.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA619
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#7AAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #78b331;
/* rgb */ color: rgb(120, 179, 49);
/* oklch */ color: oklch(70.1% 0.169 131.1);
Tailwind
colors: {
  custom: {
    50: '#a3ca72',
    500: '#78b331',
    950: '#000000',
  },
}
SCSS
$custom: #78b331;
$custom-light: #a3ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#78b331",
  "rgb": {
    "r": 120,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 87.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7011,
    "c": 0.16937,
    "h": 131.1
  },
  "luminance": 0.36455
}

Semantic roles & 50–950 ramp

primary
#78B331
secondary
#9C7AC6
accent
#48E08D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78B331

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

Preview Lab → · Contrast checker → · Palette generator →

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