#78AF2F#78AF2F

#78AF2F is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 69.1% C 0.166 H 130.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#78AF2F
RGBrgb(120, 175, 47)
HSLhsl(86, 58%, 44%)
HSVhsv(86, 73%, 69%)
CMYKcmyk(31.4%, 0%, 73.1%, 31.4%)
CIE-LABlab(65.64, -37.67, 56.38)
CIE-LCHlch(65.64, 67.81, 123.75°)
OKLaboklab(69.11% -0.107 0.1263)
OKLCHoklch(69.11% 0.166 130.3)
XYZxyz(23.5886, 34.8575, 8.1741)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AF2F #662FAF
analogous
#AFA62F #78AF2F #38AF2F
triadic
#78AF2F #2F78AF #AF2F78
tetradic
#78AF2F #2FAFA6 #662FAF #AF2F38
square
#78AF2F #2FAFA6 #662FAF #AF2F38
split-complementary
#78AF2F #2F38AF #A62FAF
monochromatic
#364F15 #577F22 #78AF2F #97CF4C #B3DC7C

Accessibility & contrast

On white

2.63
#78AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#78AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78AF2F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78AF2F#FFFFFF#000000##000000
##78AF2F1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78af2f;
/* rgb */ color: rgb(120, 175, 47);
/* oklch */ color: oklch(69.1% 0.166 130.3);
Tailwind
colors: {
  custom: {
    50: '#a3c770',
    500: '#78af2f',
    950: '#000000',
  },
}
SCSS
$custom: #78af2f;
$custom-light: #a3c770;
$custom-dark: #000000;
JSON
{
  "hex": "#78af2f",
  "rgb": {
    "r": 120,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 85.781,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69106,
    "c": 0.16554,
    "h": 130.3
  },
  "luminance": 0.34858
}

Semantic roles & 50–950 ramp

primary
#78AF2F
secondary
#9775C4
accent
#47E189
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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