#7FB52C#7FB52C

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

Color values

HEX#7FB52C
RGBrgb(127, 181, 44)
HSLhsl(84, 61%, 44%)
HSVhsv(84, 76%, 71%)
CMYKcmyk(29.8%, 0%, 75.7%, 29%)
CIE-LABlab(67.83, -37.88, 59.69)
CIE-LCHlch(67.83, 70.70, 122.40°)
OKLaboklab(70.99% -0.1082 0.1327)
OKLCHoklch(70.99% 0.171 129.2)
XYZxyz(25.7308, 37.7409, 8.3114)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB52C #622CB5
analogous
#B5A72C #7FB52C #3AB52C
triadic
#7FB52C #2C7FB5 #B52C7F
tetradic
#7FB52C #2CB5A7 #622CB5 #B52C3A
square
#7FB52C #2CB5A7 #622CB5 #B52C3A
split-complementary
#7FB52C #2C3AB5 #A72CB5
monochromatic
#3A5314 #5C8420 #7FB52C #9ED34B #B8DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB52C#FFFFFF#000000##000000
##7FB52C1.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)
#BEA80B
Deuteranopia (green-blind)
#B6A43A
Tritanopia (blue-blind)
#83AD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb52c;
/* rgb */ color: rgb(127, 181, 44);
/* oklch */ color: oklch(71.0% 0.171 129.2);
Tailwind
colors: {
  custom: {
    50: '#a9cb70',
    500: '#7fb52c',
    950: '#000000',
  },
}
SCSS
$custom: #7fb52c;
$custom-light: #a9cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb52c",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 83.65,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70988,
    "c": 0.17119,
    "h": 129.2
  },
  "luminance": 0.37742
}

Semantic roles & 50–950 ramp

primary
#7FB52C
secondary
#9675C8
accent
#44E483
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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