#7FA120#7FA120

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

Color values

HEX#7FA120
RGBrgb(127, 161, 32)
HSLhsl(76, 67%, 38%)
HSVhsv(76, 80%, 63%)
CMYKcmyk(21.1%, 0%, 80.1%, 36.9%)
CIE-LABlab(61.75, -29.24, 57.81)
CIE-LCHlch(61.75, 64.78, 116.83°)
OKLaboklab(66.03% -0.0856 0.1267)
OKLCHoklch(66.03% 0.153 124)
XYZxyz(21.7582, 30.1059, 6.0309)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA120 #4220A1
analogous
#A18220 #7FA120 #3EA120
triadic
#7FA120 #207FA1 #A1207F
tetradic
#7FA120 #20A182 #4220A1 #A1203E
square
#7FA120 #20A182 #4220A1 #A1203E
split-complementary
#7FA120 #203EA1 #8220A1
monochromatic
#2E3B0C #576E16 #7FA120 #A7D42A #BCDF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA120#FFFFFF#000000##000000
##7FA1201.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)
#869989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa120;
/* rgb */ color: rgb(127, 161, 32);
/* oklch */ color: oklch(66.0% 0.153 124.0);
Tailwind
colors: {
  custom: {
    50: '#a8bd68',
    500: '#7fa120',
    950: '#000000',
  },
}
SCSS
$custom: #7fa120;
$custom-light: #a8bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa120",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 75.814,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6603,
    "c": 0.15293,
    "h": 124
  },
  "luminance": 0.30106
}

Semantic roles & 50–950 ramp

primary
#7FA120
secondary
#755AC3
accent
#3EEA6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA120

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

Preview Lab → · Contrast checker → · Palette generator →

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