#7FB52E#7FB52E

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

Color values

HEX#7FB52E
RGBrgb(127, 181, 46)
HSLhsl(84, 59%, 45%)
HSVhsv(84, 75%, 71%)
CMYKcmyk(29.8%, 0%, 74.6%, 29%)
CIE-LABlab(67.84, -37.77, 59.03)
CIE-LCHlch(67.84, 70.08, 122.61°)
OKLaboklab(71% -0.1077 0.1316)
OKLCHoklch(71% 0.17 129.3)
XYZxyz(25.7693, 37.7563, 8.5142)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB52E #642EB5
analogous
#B5A82E #7FB52E #3CB52E
triadic
#7FB52E #2E7FB5 #B52E7F
tetradic
#7FB52E #2EB5A8 #642EB5 #B52E3C
square
#7FB52E #2EB5A8 #642EB5 #B52E3C
split-complementary
#7FB52E #2E3CB5 #A82EB5
monochromatic
#3B5315 #5D8422 #7FB52E #9DD24E #B8DE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB52E#FFFFFF#000000##000000
##7FB52E1.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)
#BEA811
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#83AD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb52e;
/* rgb */ color: rgb(127, 181, 46);
/* oklch */ color: oklch(71.0% 0.170 129.3);
Tailwind
colors: {
  custom: {
    50: '#a8cb71',
    500: '#7fb52e',
    950: '#000000',
  },
}
SCSS
$custom: #7fb52e;
$custom-light: #a8cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb52e",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 84,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71001,
    "c": 0.17006,
    "h": 129.3
  },
  "luminance": 0.37757
}

Semantic roles & 50–950 ramp

primary
#7FB52E
secondary
#9778C7
accent
#45E384
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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