#7FA920#7FA920

#7FA920 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.0% C 0.163 H 126.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7FA920
RGBrgb(127, 169, 32)
HSLhsl(78, 68%, 39%)
HSVhsv(78, 81%, 66%)
CMYKcmyk(24.9%, 0%, 81.1%, 33.7%)
CIE-LABlab(64.15, -33.01, 59.98)
CIE-LCHlch(64.15, 68.47, 118.82°)
OKLaboklab(67.98% -0.0958 0.1314)
OKLCHoklch(67.98% 0.163 126.1)
XYZxyz(23.2012, 32.9919, 6.5119)
Luminance0.3299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA920 #4A20A9
analogous
#A98F20 #7FA920 #3BA920
triadic
#7FA920 #207FA9 #A9207F
tetradic
#7FA920 #20A98F #4A20A9 #A9203B
square
#7FA920 #20A98F #4A20A9 #A9203B
split-complementary
#7FA920 #203BA9 #8F20A9
monochromatic
#32420D #587616 #7FA920 #A4D82F #BAE162

Accessibility & contrast

On white

2.76
#7FA920 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#7FA920 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA920
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA920#FFFFFF#000000##000000
##7FA9201.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#85A190
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa920;
/* rgb */ color: rgb(127, 169, 32);
/* oklch */ color: oklch(68.0% 0.163 126.1);
Tailwind
colors: {
  custom: {
    50: '#a8c269',
    500: '#7fa920',
    950: '#000000',
  },
}
SCSS
$custom: #7fa920;
$custom-light: #a8c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa920",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 32
  },
  "hsl": {
    "h": 78.394,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67983,
    "c": 0.16259,
    "h": 126.1
  },
  "luminance": 0.32992
}

Semantic roles & 50–950 ramp

primary
#7FA920
secondary
#7E5FC6
accent
#3DEB72
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA920

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

Preview Lab → · Contrast checker → · Palette generator →

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