#7FB52D#7FB52D

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

Color values

HEX#7FB52D
RGBrgb(127, 181, 45)
HSLhsl(84, 60%, 44%)
HSVhsv(84, 75%, 71%)
CMYKcmyk(29.8%, 0%, 75.1%, 29%)
CIE-LABlab(67.83, -37.83, 59.36)
CIE-LCHlch(67.83, 70.39, 122.51°)
OKLaboklab(70.99% -0.108 0.1321)
OKLCHoklch(70.99% 0.171 129.3)
XYZxyz(25.7499, 37.7485, 8.4116)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB52D #632DB5
analogous
#B5A72D #7FB52D #3BB52D
triadic
#7FB52D #2D7FB5 #B52D7F
tetradic
#7FB52D #2DB5A7 #632DB5 #B52D3B
square
#7FB52D #2DB5A7 #632DB5 #B52D3B
split-complementary
#7FB52D #2D3BB5 #A72DB5
monochromatic
#3A5315 #5D8421 #7FB52D #9DD34D #B8DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7fb52d;
/* rgb */ color: rgb(127, 181, 45);
/* oklch */ color: oklch(71.0% 0.171 129.3);
Tailwind
colors: {
  custom: {
    50: '#a8cb70',
    500: '#7fb52d',
    950: '#000000',
  },
}
SCSS
$custom: #7fb52d;
$custom-light: #a8cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb52d",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 83.824,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70995,
    "c": 0.17063,
    "h": 129.3
  },
  "luminance": 0.37749
}

Semantic roles & 50–950 ramp

primary
#7FB52D
secondary
#9776C7
accent
#44E384
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB52D

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

Preview Lab → · Contrast checker → · Palette generator →

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