#7EB52B#7EB52B

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

Color values

HEX#7EB52B
RGBrgb(126, 181, 43)
HSLhsl(84, 62%, 44%)
HSVhsv(84, 76%, 71%)
CMYKcmyk(30.4%, 0%, 76.2%, 29%)
CIE-LABlab(67.77, -38.31, 59.94)
CIE-LCHlch(67.77, 71.14, 122.59°)
OKLaboklab(70.92% -0.1094 0.1331)
OKLCHoklch(70.92% 0.172 129.4)
XYZxyz(25.5640, 37.6570, 8.2067)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB52B #622BB5
analogous
#B5A72B #7EB52B #39B52B
triadic
#7EB52B #2B7EB5 #B52B7E
tetradic
#7EB52B #2BB5A7 #622BB5 #B52B39
square
#7EB52B #2BB5A7 #622BB5 #B52B39
split-complementary
#7EB52B #2B39B5 #A72BB5
monochromatic
#395214 #5C841F #7EB52B #9DD449 #B7E07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB52B#FFFFFF#000000##000000
##7EB52B1.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)
#BEA808
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#82AD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7eb52b;
/* rgb */ color: rgb(126, 181, 43);
/* oklch */ color: oklch(70.9% 0.172 129.4);
Tailwind
colors: {
  custom: {
    50: '#a8cb6f',
    500: '#7eb52b',
    950: '#000000',
  },
}
SCSS
$custom: #7eb52b;
$custom-light: #a8cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb52b",
  "rgb": {
    "r": 126,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 83.913,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70921,
    "c": 0.17225,
    "h": 129.4
  },
  "luminance": 0.37658
}

Semantic roles & 50–950 ramp

primary
#7EB52B
secondary
#9574C8
accent
#43E584
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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