#78B31B#78B31B

#78B31B is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.0% C 0.180 H 130.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#78B31B
RGBrgb(120, 179, 27)
HSLhsl(83, 74%, 40%)
HSVhsv(83, 85%, 70%)
CMYKcmyk(33%, 0%, 84.9%, 29.8%)
CIE-LABlab(66.76, -40.40, 63.42)
CIE-LCHlch(66.76, 75.20, 122.50°)
OKLaboklab(69.99% -0.1157 0.1381)
OKLCHoklch(69.99% 0.18 130)
XYZxyz(24.0636, 36.3116, 6.7777)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B31B #561BB3
analogous
#B3A21B #78B31B #2CB31B
triadic
#78B31B #1B78B3 #B31B78
tetradic
#78B31B #1BB3A2 #561BB3 #B31B2C
square
#78B31B #1BB3A2 #561BB3 #B31B2C
split-complementary
#78B31B #1B2CB3 #A21BB3
monochromatic
#31490B #547E13 #78B31B #9ADF2C #B3E761

Accessibility & contrast

On white

2.54
#78B31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#78B31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B31B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B31B#FFFFFF#000000##000000
##78B31B1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#7BAB98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #78b31b;
/* rgb */ color: rgb(120, 179, 27);
/* oklch */ color: oklch(70.0% 0.180 130.0);
Tailwind
colors: {
  custom: {
    50: '#a4ca68',
    500: '#78b31b',
    950: '#000000',
  },
}
SCSS
$custom: #78b31b;
$custom-light: #a4ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#78b31b",
  "rgb": {
    "r": 120,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 83.289,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69987,
    "c": 0.18014,
    "h": 130
  },
  "luminance": 0.36312
}

Semantic roles & 50–950 ramp

primary
#78B31B
secondary
#895ECC
accent
#37F07F
background
#FAFCF6
surface
#F4F8EB
border
#CED1C6
text
#101307
muted
#7F827A

Preview Lab

Preview with #78B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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