#7FB52A#7FB52A

#7FB52A is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.0% C 0.172 H 129.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7FB52A
RGBrgb(127, 181, 42)
HSLhsl(83, 62%, 44%)
HSVhsv(83, 77%, 71%)
CMYKcmyk(29.8%, 0%, 76.8%, 29%)
CIE-LABlab(67.82, -37.99, 60.34)
CIE-LCHlch(67.82, 71.30, 122.20°)
OKLaboklab(70.98% -0.1086 0.1337)
OKLCHoklch(70.98% 0.172 129.1)
XYZxyz(25.6941, 37.7262, 8.1182)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB52A #602AB5
analogous
#B5A52A #7FB52A #3AB52A
triadic
#7FB52A #2A7FB5 #B52A7F
tetradic
#7FB52A #2AB5A5 #602AB5 #B52A3A
square
#7FB52A #2AB5A5 #602AB5 #B52A3A
split-complementary
#7FB52A #2A3AB5 #A52AB5
monochromatic
#395213 #5C831E #7FB52A #9ED448 #B8E079

Accessibility & contrast

On white

2.46
#7FB52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#7FB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB52A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB52A#FFFFFF#000000##000000
##7FB52A1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA804
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#83AD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb52a;
/* rgb */ color: rgb(127, 181, 42);
/* oklch */ color: oklch(71.0% 0.172 129.1);
Tailwind
colors: {
  custom: {
    50: '#a9cb6f',
    500: '#7fb52a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb52a;
$custom-light: #a9cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb52a",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 83.309,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70976,
    "c": 0.17227,
    "h": 129.1
  },
  "luminance": 0.37727
}

Semantic roles & 50–950 ramp

primary
#7FB52A
secondary
#9473C8
accent
#42E582
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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