#7FA72A#7FA72A

#7FA72A is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.6% C 0.155 H 126.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA72A
RGBrgb(127, 167, 42)
HSLhsl(79, 60%, 41%)
HSVhsv(79, 75%, 65%)
CMYKcmyk(24%, 0%, 74.9%, 34.5%)
CIE-LABlab(63.60, -31.59, 56.31)
CIE-LCHlch(63.60, 64.56, 119.29°)
OKLaboklab(67.55% -0.0912 0.1252)
OKLCHoklch(67.55% 0.155 126.1)
XYZxyz(22.9892, 32.3163, 7.2165)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA72A #522AA7
analogous
#A7902A #7FA72A #40A72A
triadic
#7FA72A #2A7FA7 #A72A7F
tetradic
#7FA72A #2AA790 #522AA7 #A72A40
square
#7FA72A #2AA790 #522AA7 #A72A40
split-complementary
#7FA72A #2A40A7 #902AA7
monochromatic
#354511 #5A761E #7FA72A #A1CF3F #B9DB70

Accessibility & contrast

On white

2.81
#7FA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7FA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA72A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA72A#FFFFFF#000000##000000
##7FA72A1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0F
Deuteranopia (green-blind)
#AB9936
Tritanopia (blue-blind)
#859F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa72a;
/* rgb */ color: rgb(127, 167, 42);
/* oklch */ color: oklch(67.6% 0.155 126.1);
Tailwind
colors: {
  custom: {
    50: '#a8c16d',
    500: '#7fa72a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa72a;
$custom-light: #a8c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa72a",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 79.2,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67552,
    "c": 0.15494,
    "h": 126.1
  },
  "luminance": 0.32317
}

Semantic roles & 50–950 ramp

primary
#7FA72A
secondary
#876BC2
accent
#45E377
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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