#7EB52D#7EB52D

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

Color values

HEX#7EB52D
RGBrgb(126, 181, 45)
HSLhsl(84, 60%, 44%)
HSVhsv(84, 75%, 71%)
CMYKcmyk(30.4%, 0%, 75.1%, 29%)
CIE-LABlab(67.78, -38.20, 59.29)
CIE-LCHlch(67.78, 70.53, 122.80°)
OKLaboklab(70.93% -0.1089 0.132)
OKLCHoklch(70.93% 0.171 129.5)
XYZxyz(25.6016, 37.6721, 8.4047)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB52D #642DB5
analogous
#B5A82D #7EB52D #3AB52D
triadic
#7EB52D #2D7EB5 #B52D7E
tetradic
#7EB52D #2DB5A8 #642DB5 #B52D3A
square
#7EB52D #2DB5A8 #642DB5 #B52D3A
split-complementary
#7EB52D #2D3AB5 #A82DB5
monochromatic
#3A5315 #5C8421 #7EB52D #9CD34D #B7DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7eb52d;
/* rgb */ color: rgb(126, 181, 45);
/* oklch */ color: oklch(70.9% 0.171 129.5);
Tailwind
colors: {
  custom: {
    50: '#a8cb70',
    500: '#7eb52d',
    950: '#000000',
  },
}
SCSS
$custom: #7eb52d;
$custom-light: #a8cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb52d",
  "rgb": {
    "r": 126,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 84.265,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70934,
    "c": 0.17114,
    "h": 129.5
  },
  "luminance": 0.37673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EB52D

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

Preview Lab → · Contrast checker → · Palette generator →

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