#7FB72A#7FB72A

#7FB72A is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.5% C 0.175 H 129.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7FB72A
RGBrgb(127, 183, 42)
HSLhsl(84, 63%, 44%)
HSVhsv(84, 77%, 72%)
CMYKcmyk(30.6%, 0%, 77%, 28.2%)
CIE-LABlab(68.42, -38.88, 60.91)
CIE-LCHlch(68.42, 72.26, 122.55°)
OKLaboklab(71.47% -0.111 0.1349)
OKLCHoklch(71.47% 0.175 129.5)
XYZxyz(26.1037, 38.5454, 8.2547)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB72A #622AB7
analogous
#B7A92A #7FB72A #38B72A
triadic
#7FB72A #2A7FB7 #B72A7F
tetradic
#7FB72A #2AB7A9 #622AB7 #B72A38
square
#7FB72A #2AB7A9 #622AB7 #B72A38
split-complementary
#7FB72A #2A38B7 #A92AB7
monochromatic
#3A5313 #5C851F #7FB72A #9ED549 #B8E17B

Accessibility & contrast

On white

2.41
#7FB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#7FB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB72A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB72A#FFFFFF#000000##000000
##7FB72A1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A902
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#83AF9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fb72a;
/* rgb */ color: rgb(127, 183, 42);
/* oklch */ color: oklch(71.5% 0.175 129.5);
Tailwind
colors: {
  custom: {
    50: '#a9cd6f',
    500: '#7fb72a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb72a;
$custom-light: #a9cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb72a",
  "rgb": {
    "r": 127,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 83.83,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71466,
    "c": 0.17472,
    "h": 129.5
  },
  "luminance": 0.38546
}

Semantic roles & 50–950 ramp

primary
#7FB72A
secondary
#9674C9
accent
#42E683
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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