#7FA24C#7FA24C

#7FA24C is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.7% C 0.121 H 127.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA24C
RGBrgb(127, 162, 76)
HSLhsl(84, 36%, 47%)
HSVhsv(84, 53%, 64%)
CMYKcmyk(21.6%, 0%, 53.1%, 36.5%)
CIE-LABlab(62.40, -26.46, 40.40)
CIE-LCHlch(62.40, 48.30, 123.22°)
OKLaboklab(66.68% -0.074 0.0958)
OKLCHoklch(66.68% 0.121 127.7)
XYZxyz(22.9771, 30.8741, 11.5848)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA24C #6F4CA2
analogous
#A29A4C #7FA24C #54A24C
triadic
#7FA24C #4C7FA2 #A24C7F
tetradic
#7FA24C #4CA29A #6F4CA2 #A24C54
square
#7FA24C #4CA29A #6F4CA2 #A24C54
split-complementary
#7FA24C #4C54A2 #9A4CA2
monochromatic
#3E4F25 #5E7838 #7FA24C #9DBC70 #B9CF99

Accessibility & contrast

On white

2.93
#7FA24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7FA24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA24C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA24C#FFFFFF#000000##000000
##7FA24C1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99844
Deuteranopia (green-blind)
#A49651
Tritanopia (blue-blind)
#839C8F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa24c;
/* rgb */ color: rgb(127, 162, 76);
/* oklch */ color: oklch(66.7% 0.121 127.7);
Tailwind
colors: {
  custom: {
    50: '#a6bd80',
    500: '#7fa24c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa24c;
$custom-light: #a6bd80;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa24c",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 76
  },
  "hsl": {
    "h": 84.419,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.12108,
    "h": 127.7
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#7FA24C
secondary
#A18EBC
accent
#5CCC89
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA24C

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

Preview Lab → · Contrast checker → · Palette generator →

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