#7FA72F#7FA72F

#7FA72F is a light, vivid yellow-green. Relative luminance 0.324; 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#7FA72F
RGBrgb(127, 167, 47)
HSLhsl(80, 56%, 42%)
HSVhsv(80, 72%, 65%)
CMYKcmyk(24%, 0%, 71.9%, 34.5%)
CIE-LABlab(63.63, -31.29, 54.53)
CIE-LCHlch(63.63, 62.87, 119.85°)
OKLaboklab(67.59% -0.09 0.1223)
OKLCHoklch(67.59% 0.152 126.3)
XYZxyz(23.0843, 32.3543, 7.7176)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA72F #572FA7
analogous
#A7932F #7FA72F #43A72F
triadic
#7FA72F #2F7FA7 #A72F7F
tetradic
#7FA72F #2FA793 #572FA7 #A72F43
square
#7FA72F #2FA793 #572FA7 #A72F43
split-complementary
#7FA72F #2F43A7 #932FA7
monochromatic
#364714 #5B7722 #7FA72F #A0CB48 #B8D978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA72F#FFFFFF#000000##000000
##7FA72F1.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)
#B09C1A
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#849F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa72f;
/* rgb */ color: rgb(127, 167, 47);
/* oklch */ color: oklch(67.6% 0.152 126.3);
Tailwind
colors: {
  custom: {
    50: '#a8c16f',
    500: '#7fa72f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa72f;
$custom-light: #a8c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa72f",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 80,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67587,
    "c": 0.15185,
    "h": 126.3
  },
  "luminance": 0.32355
}

Semantic roles & 50–950 ramp

primary
#7FA72F
secondary
#8C71C1
accent
#48DF7B
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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