#7FA72C#7FA72C

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

Color values

HEX#7FA72C
RGBrgb(127, 167, 44)
HSLhsl(80, 58%, 41%)
HSVhsv(80, 74%, 65%)
CMYKcmyk(24%, 0%, 73.7%, 34.5%)
CIE-LABlab(63.62, -31.48, 55.61)
CIE-LCHlch(63.62, 63.90, 119.51°)
OKLaboklab(67.57% -0.0907 0.1241)
OKLCHoklch(67.57% 0.154 126.2)
XYZxyz(23.0259, 32.3309, 7.4098)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA72C #542CA7
analogous
#A7922C #7FA72C #42A72C
triadic
#7FA72C #2C7FA7 #A72C7F
tetradic
#7FA72C #2CA792 #542CA7 #A72C42
square
#7FA72C #2CA792 #542CA7 #A72C42
split-complementary
#7FA72C #2C42A7 #922CA7
monochromatic
#354612 #5A771F #7FA72C #A0CD43 #B9DA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA72C#FFFFFF#000000##000000
##7FA72C1.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)
#B09C14
Deuteranopia (green-blind)
#AB9937
Tritanopia (blue-blind)
#849F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa72c;
/* rgb */ color: rgb(127, 167, 44);
/* oklch */ color: oklch(67.6% 0.154 126.2);
Tailwind
colors: {
  custom: {
    50: '#a8c16e',
    500: '#7fa72c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa72c;
$custom-light: #a8c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa72c",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 79.512,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67566,
    "c": 0.15374,
    "h": 126.2
  },
  "luminance": 0.32331
}

Semantic roles & 50–950 ramp

primary
#7FA72C
secondary
#896DC2
accent
#46E279
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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