#7FA121#7FA121

#7FA121 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.152 H 124.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7FA121
RGBrgb(127, 161, 33)
HSLhsl(76, 66%, 38%)
HSVhsv(76, 80%, 63%)
CMYKcmyk(21.1%, 0%, 79.5%, 36.9%)
CIE-LABlab(61.75, -29.20, 57.51)
CIE-LCHlch(61.75, 64.50, 116.92°)
OKLaboklab(66.04% -0.0854 0.1263)
OKLCHoklch(66.04% 0.152 124.1)
XYZxyz(21.7720, 30.1114, 6.1036)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA121 #4321A1
analogous
#A18321 #7FA121 #3FA121
triadic
#7FA121 #217FA1 #A1217F
tetradic
#7FA121 #21A183 #4321A1 #A1213F
square
#7FA121 #21A183 #4321A1 #A1213F
split-complementary
#7FA121 #213FA1 #8321A1
monochromatic
#2F3B0C #576E17 #7FA121 #A7D42C #BCDE5E

Accessibility & contrast

On white

2.99
#7FA121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7FA121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA121
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA121#FFFFFF#000000##000000
##7FA1211.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#859989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa121;
/* rgb */ color: rgb(127, 161, 33);
/* oklch */ color: oklch(66.0% 0.152 124.1);
Tailwind
colors: {
  custom: {
    50: '#a8bd68',
    500: '#7fa121',
    950: '#000000',
  },
}
SCSS
$custom: #7fa121;
$custom-light: #a8bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa121",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 75.938,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66036,
    "c": 0.15244,
    "h": 124.1
  },
  "luminance": 0.30112
}

Semantic roles & 50–950 ramp

primary
#7FA121
secondary
#775BC3
accent
#3FE96C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA121

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

Preview Lab → · Contrast checker → · Palette generator →

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