#7FB52F#7FB52F

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

Color values

HEX#7FB52F
RGBrgb(127, 181, 47)
HSLhsl(84, 59%, 45%)
HSVhsv(84, 74%, 71%)
CMYKcmyk(29.8%, 0%, 74%, 29%)
CIE-LABlab(67.85, -37.71, 58.69)
CIE-LCHlch(67.85, 69.76, 122.72°)
OKLaboklab(71.01% -0.1075 0.131)
OKLCHoklch(71.01% 0.169 129.4)
XYZxyz(25.7893, 37.7643, 8.6193)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB52F #652FB5
analogous
#B5A82F #7FB52F #3CB52F
triadic
#7FB52F #2F7FB5 #B52F7F
tetradic
#7FB52F #2FB5A8 #652FB5 #B52F3C
square
#7FB52F #2FB5A8 #652FB5 #B52F3C
split-complementary
#7FB52F #2F3CB5 #A82FB5
monochromatic
#3B5416 #5D8422 #7FB52F #9DD150 #B8DE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB52F#FFFFFF#000000##000000
##7FB52F1.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)
#BEA814
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#83AD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb52f;
/* rgb */ color: rgb(127, 181, 47);
/* oklch */ color: oklch(71.0% 0.169 129.4);
Tailwind
colors: {
  custom: {
    50: '#a8cb71',
    500: '#7fb52f',
    950: '#000000',
  },
}
SCSS
$custom: #7fb52f;
$custom-light: #a8cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb52f",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 84.179,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71008,
    "c": 0.16948,
    "h": 129.4
  },
  "luminance": 0.37765
}

Semantic roles & 50–950 ramp

primary
#7FB52F
secondary
#9879C7
accent
#46E285
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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