#7FB24A#7FB24A

#7FB24A is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.5% C 0.146 H 131.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7FB24A
RGBrgb(127, 178, 74)
HSLhsl(89, 41%, 49%)
HSVhsv(89, 58%, 70%)
CMYKcmyk(28.7%, 0%, 58.4%, 30.2%)
CIE-LABlab(67.16, -34.26, 46.90)
CIE-LCHlch(67.16, 58.08, 126.15°)
OKLaboklab(70.52% -0.0958 0.1097)
OKLCHoklch(70.52% 0.146 131.1)
XYZxyz(25.9085, 36.8465, 12.2243)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB24A #7D4AB2
analogous
#B2B14A #7FB24A #4BB24A
triadic
#7FB24A #4A7FB2 #B24A7F
tetradic
#7FB24A #4AB2B1 #7D4AB2 #B24A4B
square
#7FB24A #4AB2B1 #7D4AB2 #B24A4B
split-complementary
#7FB24A #4A4BB2 #B14AB2
monochromatic
#415C26 #608738 #7FB24A #9DC574 #BCD79F

Accessibility & contrast

On white

2.51
#7FB24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#7FB24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB24A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB24A#FFFFFF#000000##000000
##7FB24A1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63F
Deuteranopia (green-blind)
#B2A251
Tritanopia (blue-blind)
#81AB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb24a;
/* rgb */ color: rgb(127, 178, 74);
/* oklch */ color: oklch(70.5% 0.146 131.1);
Tailwind
colors: {
  custom: {
    50: '#a7c980',
    500: '#7fb24a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb24a;
$custom-light: #a7c980;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb24a",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 74
  },
  "hsl": {
    "h": 89.423,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70521,
    "c": 0.14563,
    "h": 131.1
  },
  "luminance": 0.36847
}

Semantic roles & 50–950 ramp

primary
#7FB24A
secondary
#AB94C4
accent
#57D193
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB24A

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

Preview Lab → · Contrast checker → · Palette generator →

#7FB24A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva