#7EB52A#7EB52A

#7EB52A is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 70.9% C 0.173 H 129.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7EB52A
RGBrgb(126, 181, 42)
HSLhsl(84, 62%, 44%)
HSVhsv(84, 77%, 71%)
CMYKcmyk(30.4%, 0%, 76.8%, 29%)
CIE-LABlab(67.76, -38.37, 60.26)
CIE-LCHlch(67.76, 71.44, 122.48°)
OKLaboklab(70.91% -0.1096 0.1336)
OKLCHoklch(70.91% 0.173 129.4)
XYZxyz(25.5459, 37.6498, 8.1112)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB52A #612AB5
analogous
#B5A62A #7EB52A #38B52A
triadic
#7EB52A #2A7EB5 #B52A7E
tetradic
#7EB52A #2AB5A6 #612AB5 #B52A38
square
#7EB52A #2AB5A6 #612AB5 #B52A38
split-complementary
#7EB52A #2A38B5 #A62AB5
monochromatic
#395213 #5B831E #7EB52A #9DD448 #B7E079

Accessibility & contrast

On white

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

On black

8.53
#7EB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB52A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB52A#FFFFFF#000000##000000
##7EB52A1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eb52a;
/* rgb */ color: rgb(126, 181, 42);
/* oklch */ color: oklch(70.9% 0.173 129.4);
Tailwind
colors: {
  custom: {
    50: '#a8cb6f',
    500: '#7eb52a',
    950: '#000000',
  },
}
SCSS
$custom: #7eb52a;
$custom-light: #a8cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb52a",
  "rgb": {
    "r": 126,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 83.741,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70915,
    "c": 0.17278,
    "h": 129.4
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

primary
#7EB52A
secondary
#9573C8
accent
#42E583
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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