#7FB24C#7FB24C

#7FB24C is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.5% C 0.144 H 131.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7FB24C
RGBrgb(127, 178, 76)
HSLhsl(90, 40%, 50%)
HSVhsv(90, 57%, 70%)
CMYKcmyk(28.7%, 0%, 57.3%, 30.2%)
CIE-LABlab(67.18, -34.07, 46.00)
CIE-LCHlch(67.18, 57.24, 126.52°)
OKLaboklab(70.54% -0.0951 0.1079)
OKLCHoklch(70.54% 0.144 131.4)
XYZxyz(25.9770, 36.8739, 12.5848)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB24C #7F4CB2
analogous
#B2B24C #7FB24C #4CB24C
triadic
#7FB24C #4C7FB2 #B24C7F
tetradic
#7FB24C #4CB2B2 #7F4CB2 #B24C4C
square
#7FB24C #4CB2B2 #7F4CB2 #B24C4C
split-complementary
#7FB24C #4C4CB2 #B24CB2
monochromatic
#425C27 #60873A #7FB24C #9EC576 #BCD7A1

Accessibility & contrast

On white

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

On black

8.38
#7FB24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB24C
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB24C#FFFFFF#000000##000000
##7FB24C1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A642
Deuteranopia (green-blind)
#B2A253
Tritanopia (blue-blind)
#81AB9C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb24c;
/* rgb */ color: rgb(127, 178, 76);
/* oklch */ color: oklch(70.5% 0.144 131.4);
Tailwind
colors: {
  custom: {
    50: '#a7c981',
    500: '#7fb24c',
    950: '#000000',
  },
}
SCSS
$custom: #7fb24c;
$custom-light: #a7c981;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb24c",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 76
  },
  "hsl": {
    "h": 90,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70544,
    "c": 0.14386,
    "h": 131.4
  },
  "luminance": 0.36875
}

Semantic roles & 50–950 ramp

primary
#7FB24C
secondary
#AD96C4
accent
#58D094
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB24C

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

Preview Lab → · Contrast checker → · Palette generator →

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