#78B938#78B938

#78B938 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 71.6% C 0.172 H 132.5°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#78B938
RGBrgb(120, 185, 56)
HSLhsl(90, 54%, 47%)
HSVhsv(90, 70%, 73%)
CMYKcmyk(35.1%, 0%, 69.7%, 27.5%)
CIE-LABlab(68.73, -41.46, 56.15)
CIE-LCHlch(68.73, 69.79, 126.44°)
OKLaboklab(71.65% -0.1166 0.1272)
OKLCHoklch(71.65% 0.173 132.5)
XYZxyz(25.8082, 38.9755, 9.9038)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B938 #7938B9
analogous
#B8B938 #78B938 #38B939
triadic
#78B938 #3878B9 #B93878
tetradic
#78B938 #38B8B9 #7938B9 #B93938
square
#78B938 #38B8B9 #7938B9 #B93938
split-complementary
#78B938 #3938B9 #B938B8
monochromatic
#3B5B1C #5A8A2A #78B938 #97CF5F #B5DD8E

Accessibility & contrast

On white

2.39
#78B938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#78B938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B938
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B938#FFFFFF#000000##000000
##78B9381.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#79B29F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #78b938;
/* rgb */ color: rgb(120, 185, 56);
/* oklch */ color: oklch(71.6% 0.172 132.5);
Tailwind
colors: {
  custom: {
    50: '#a4ce76',
    500: '#78b938',
    950: '#000000',
  },
}
SCSS
$custom: #78b938;
$custom-light: #a4ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#78b938",
  "rgb": {
    "r": 120,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 90.233,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.1725,
    "h": 132.5
  },
  "luminance": 0.38977
}

Semantic roles & 50–950 ramp

primary
#78B938
secondary
#A785C8
accent
#4BDD94
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #78B938

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

Preview Lab → · Contrast checker → · Palette generator →

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