#7FA24A#7FA24A

#7FA24A is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.6% C 0.123 H 127.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA24A
RGBrgb(127, 162, 74)
HSLhsl(84, 37%, 46%)
HSVhsv(84, 54%, 64%)
CMYKcmyk(21.6%, 0%, 54.3%, 36.5%)
CIE-LABlab(62.38, -26.67, 41.36)
CIE-LCHlch(62.38, 49.21, 122.82°)
OKLaboklab(66.65% -0.0748 0.0977)
OKLCHoklch(66.65% 0.123 127.4)
XYZxyz(22.9087, 30.8467, 11.2243)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA24A #6D4AA2
analogous
#A2994A #7FA24A #53A24A
triadic
#7FA24A #4A7FA2 #A24A7F
tetradic
#7FA24A #4AA299 #6D4AA2 #A24A53
square
#7FA24A #4AA299 #6D4AA2 #A24A53
split-complementary
#7FA24A #4A53A2 #994AA2
monochromatic
#3D4E24 #5E7837 #7FA24A #9DBC6D #B9CF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA24A#FFFFFF#000000##000000
##7FA24A1.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)
#A99842
Deuteranopia (green-blind)
#A49650
Tritanopia (blue-blind)
#839B8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa24a;
/* rgb */ color: rgb(127, 162, 74);
/* oklch */ color: oklch(66.6% 0.123 127.4);
Tailwind
colors: {
  custom: {
    50: '#a6bd7f',
    500: '#7fa24a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa24a;
$custom-light: #a6bd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa24a",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 74
  },
  "hsl": {
    "h": 83.864,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66648,
    "c": 0.12305,
    "h": 127.4
  },
  "luminance": 0.30847
}

Semantic roles & 50–950 ramp

primary
#7FA24A
secondary
#9F8CBC
accent
#5BCD88
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA24A

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

Preview Lab → · Contrast checker → · Palette generator →

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