#7FA02E#7FA02E

#7FA02E is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.144 H 124.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7FA02E
RGBrgb(127, 160, 46)
HSLhsl(77, 55%, 40%)
HSVhsv(77, 71%, 63%)
CMYKcmyk(20.6%, 0%, 71.2%, 37.3%)
CIE-LABlab(61.53, -28.02, 52.80)
CIE-LCHlch(61.53, 59.78, 117.95°)
OKLaboklab(65.88% -0.0811 0.1185)
OKLCHoklch(65.88% 0.144 124.4)
XYZxyz(21.8165, 29.8507, 7.1966)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA02E #4F2EA0
analogous
#A0882E #7FA02E #46A02E
triadic
#7FA02E #2E7FA0 #A02E7F
tetradic
#7FA02E #2EA088 #4F2EA0 #A02E46
square
#7FA02E #2EA088 #4F2EA0 #A02E46
split-complementary
#7FA02E #2E46A0 #882EA0
monochromatic
#344113 #597020 #7FA02E #A2C942 #B9D672

Accessibility & contrast

On white

3.01
#7FA02E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#7FA02E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA02E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA02E#FFFFFF#000000##000000
##7FA02E1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961B
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#85988A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa02e;
/* rgb */ color: rgb(127, 160, 46);
/* oklch */ color: oklch(65.9% 0.144 124.4);
Tailwind
colors: {
  custom: {
    50: '#a7bc6e',
    500: '#7fa02e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa02e;
$custom-light: #a7bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa02e",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 77.368,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.14361,
    "h": 124.4
  },
  "luminance": 0.29851
}

Semantic roles & 50–950 ramp

primary
#7FA02E
secondary
#846CBE
accent
#49DF74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA02E

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

Preview Lab → · Contrast checker → · Palette generator →

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