#7EB52C#7EB52C

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

Color values

HEX#7EB52C
RGBrgb(126, 181, 44)
HSLhsl(84, 61%, 44%)
HSVhsv(84, 76%, 71%)
CMYKcmyk(30.4%, 0%, 75.7%, 29%)
CIE-LABlab(67.77, -38.26, 59.62)
CIE-LCHlch(67.77, 70.84, 122.69°)
OKLaboklab(70.93% -0.1092 0.1325)
OKLCHoklch(70.93% 0.172 129.5)
XYZxyz(25.5826, 37.6645, 8.3045)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB52C #632CB5
analogous
#B5A82C #7EB52C #39B52C
triadic
#7EB52C #2C7EB5 #B52C7E
tetradic
#7EB52C #2CB5A8 #632CB5 #B52C39
square
#7EB52C #2CB5A8 #632CB5 #B52C39
split-complementary
#7EB52C #2C39B5 #A82CB5
monochromatic
#395314 #5C8420 #7EB52C #9DD34B #B7DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7eb52c;
/* rgb */ color: rgb(126, 181, 44);
/* oklch */ color: oklch(70.9% 0.172 129.5);
Tailwind
colors: {
  custom: {
    50: '#a8cb70',
    500: '#7eb52c',
    950: '#000000',
  },
}
SCSS
$custom: #7eb52c;
$custom-light: #a8cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb52c",
  "rgb": {
    "r": 126,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 84.088,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.1717,
    "h": 129.5
  },
  "luminance": 0.37665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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