#7FA02A#7FA02A

#7FA02A is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.146 H 124.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7FA02A
RGBrgb(127, 160, 42)
HSLhsl(77, 58%, 40%)
HSVhsv(77, 74%, 63%)
CMYKcmyk(20.6%, 0%, 73.8%, 37.3%)
CIE-LABlab(61.50, -28.26, 54.27)
CIE-LCHlch(61.50, 61.18, 117.51°)
OKLaboklab(65.85% -0.0821 0.121)
OKLCHoklch(65.85% 0.146 124.2)
XYZxyz(21.7413, 29.8206, 6.8006)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA02A #4B2AA0
analogous
#A0862A #7FA02A #44A02A
triadic
#7FA02A #2A7FA0 #A02A7F
tetradic
#7FA02A #2AA086 #4B2AA0 #A02A44
square
#7FA02A #2AA086 #4B2AA0 #A02A44
split-complementary
#7FA02A #2A44A0 #862AA0
monochromatic
#323F11 #59701D #7FA02A #A3CC3C #BAD86C

Accessibility & contrast

On white

3.02
#7FA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7FA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA02A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA02A#FFFFFF#000000##000000
##7FA02A1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99613
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#859889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa02a;
/* rgb */ color: rgb(127, 160, 42);
/* oklch */ color: oklch(65.8% 0.146 124.2);
Tailwind
colors: {
  custom: {
    50: '#a7bc6c',
    500: '#7fa02a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa02a;
$custom-light: #a7bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa02a",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 76.78,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.14619,
    "h": 124.2
  },
  "luminance": 0.29821
}

Semantic roles & 50–950 ramp

primary
#7FA02A
secondary
#7F67BF
accent
#46E272
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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