#78B231#78B231

#78B231 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 69.9% C 0.168 H 130.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#78B231
RGBrgb(120, 178, 49)
HSLhsl(87, 57%, 45%)
HSVhsv(87, 72%, 70%)
CMYKcmyk(32.6%, 0%, 72.5%, 30.2%)
CIE-LABlab(66.56, -38.88, 56.58)
CIE-LCHlch(66.56, 68.65, 124.50°)
OKLaboklab(69.86% -0.1101 0.127)
OKLCHoklch(69.86% 0.168 130.9)
XYZxyz(24.2203, 36.0548, 8.5883)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B231 #6B31B2
analogous
#B2AC31 #78B231 #37B231
triadic
#78B231 #3178B2 #B23178
tetradic
#78B231 #31B2AC #6B31B2 #B23137
square
#78B231 #31B2AC #6B31B2 #B23137
split-complementary
#78B231 #3137B2 #AC31B2
monochromatic
#375217 #588224 #78B231 #96CF51 #B3DC81

Accessibility & contrast

On white

2.56
#78B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#78B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B231
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B231#FFFFFF#000000##000000
##78B2311.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51A
Deuteranopia (green-blind)
#B2A03D
Tritanopia (blue-blind)
#7AAA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #78b231;
/* rgb */ color: rgb(120, 178, 49);
/* oklch */ color: oklch(69.9% 0.168 130.9);
Tailwind
colors: {
  custom: {
    50: '#a3c972',
    500: '#78b231',
    950: '#000000',
  },
}
SCSS
$custom: #78b231;
$custom-light: #a3c972;
$custom-dark: #000000;
JSON
{
  "hex": "#78b231",
  "rgb": {
    "r": 120,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 86.977,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.1681,
    "h": 130.9
  },
  "luminance": 0.36056
}

Semantic roles & 50–950 ramp

primary
#78B231
secondary
#9C79C5
accent
#48E08C
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78B231

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

Preview Lab → · Contrast checker → · Palette generator →

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