#7FA72E#7FA72E

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

Color values

HEX#7FA72E
RGBrgb(127, 167, 46)
HSLhsl(80, 57%, 42%)
HSVhsv(80, 72%, 65%)
CMYKcmyk(24%, 0%, 72.5%, 34.5%)
CIE-LABlab(63.63, -31.36, 54.90)
CIE-LCHlch(63.63, 63.22, 119.73°)
OKLaboklab(67.58% -0.0903 0.1229)
OKLCHoklch(67.58% 0.152 126.3)
XYZxyz(23.0644, 32.3463, 7.6126)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA72E #562EA7
analogous
#A7932E #7FA72E #42A72E
triadic
#7FA72E #2E7FA7 #A72E7F
tetradic
#7FA72E #2EA793 #562EA7 #A72E42
square
#7FA72E #2EA793 #562EA7 #A72E42
split-complementary
#7FA72E #2E42A7 #932EA7
monochromatic
#364714 #5B7721 #7FA72E #A0CC46 #B9D976

Accessibility & contrast

On white

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

On black

7.47
#7FA72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA72E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA72E#FFFFFF#000000##000000
##7FA72E1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C18
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#849F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa72e;
/* rgb */ color: rgb(127, 167, 46);
/* oklch */ color: oklch(67.6% 0.152 126.3);
Tailwind
colors: {
  custom: {
    50: '#a8c16f',
    500: '#7fa72e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa72e;
$custom-light: #a8c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa72e",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 79.835,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6758,
    "c": 0.15249,
    "h": 126.3
  },
  "luminance": 0.32347
}

Semantic roles & 50–950 ramp

primary
#7FA72E
secondary
#8B70C1
accent
#48E07A
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA72E

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

Preview Lab → · Contrast checker → · Palette generator →

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