#78AF2B#78AF2B

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

Color values

HEX#78AF2B
RGBrgb(120, 175, 43)
HSLhsl(85, 61%, 43%)
HSVhsv(85, 75%, 69%)
CMYKcmyk(31.4%, 0%, 75.4%, 31.4%)
CIE-LABlab(65.61, -37.91, 57.76)
CIE-LCHlch(65.61, 69.09, 123.28°)
OKLaboklab(69.08% -0.1079 0.1286)
OKLCHoklch(69.08% 0.168 130)
XYZxyz(23.5116, 34.8267, 7.7685)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AF2B #622BAF
analogous
#AFA42B #78AF2B #36AF2B
triadic
#78AF2B #2B78AF #AF2B78
tetradic
#78AF2B #2BAFA4 #622BAF #AF2B36
square
#78AF2B #2BAFA4 #622BAF #AF2B36
split-complementary
#78AF2B #2B36AF #A42BAF
monochromatic
#354D13 #567E1F #78AF2B #97D146 #B3DE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78AF2B#FFFFFF#000000##000000
##78AF2B1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78af2b;
/* rgb */ color: rgb(120, 175, 43);
/* oklch */ color: oklch(69.1% 0.168 130.0);
Tailwind
colors: {
  custom: {
    50: '#a3c76e',
    500: '#78af2b',
    950: '#000000',
  },
}
SCSS
$custom: #78af2b;
$custom-light: #a3c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#78af2b",
  "rgb": {
    "r": 120,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 85,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69078,
    "c": 0.16789,
    "h": 130
  },
  "luminance": 0.34827
}

Semantic roles & 50–950 ramp

primary
#78AF2B
secondary
#9470C5
accent
#44E487
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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