#78AF26#78AF26

#78AF26 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.0% C 0.171 H 129.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#78AF26
RGBrgb(120, 175, 38)
HSLhsl(84, 64%, 42%)
HSVhsv(84, 78%, 69%)
CMYKcmyk(31.4%, 0%, 78.3%, 31.4%)
CIE-LABlab(65.59, -38.18, 59.36)
CIE-LCHlch(65.59, 70.58, 122.75°)
OKLaboklab(69.05% -0.109 0.1312)
OKLCHoklch(69.05% 0.171 129.7)
XYZxyz(23.4255, 34.7922, 7.3147)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AF26 #5D26AF
analogous
#AFA226 #78AF26 #33AF26
triadic
#78AF26 #2678AF #AF2678
tetradic
#78AF26 #26AFA2 #5D26AF #AF2633
square
#78AF26 #26AFA2 #5D26AF #AF2633
split-complementary
#78AF26 #2633AF #A226AF
monochromatic
#334A10 #567D1B #78AF26 #98D53D #B3E070

Accessibility & contrast

On white

2.64
#78AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#78AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78AF26
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78AF26#FFFFFF#000000##000000
##78AF261.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#7BA796
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #78af26;
/* rgb */ color: rgb(120, 175, 38);
/* oklch */ color: oklch(69.0% 0.171 129.7);
Tailwind
colors: {
  custom: {
    50: '#a4c76c',
    500: '#78af26',
    950: '#000000',
  },
}
SCSS
$custom: #78af26;
$custom-light: #a4c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#78af26",
  "rgb": {
    "r": 120,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 84.088,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69048,
    "c": 0.17056,
    "h": 129.7
  },
  "luminance": 0.34793
}

Semantic roles & 50–950 ramp

primary
#78AF26
secondary
#8F6AC7
accent
#40E783
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #78AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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