#7EB252#7EB252

#7EB252 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.6% C 0.139 H 132.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7EB252
RGBrgb(126, 178, 82)
HSLhsl(93, 38%, 51%)
HSVhsv(93, 54%, 70%)
CMYKcmyk(29.2%, 0%, 53.9%, 30.2%)
CIE-LABlab(67.19, -33.81, 43.14)
CIE-LCHlch(67.19, 54.81, 128.08°)
OKLaboklab(70.56% -0.0939 0.1023)
OKLCHoklch(70.56% 0.139 132.5)
XYZxyz(26.0472, 36.8848, 13.7281)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB252 #8652B2
analogous
#AEB252 #7EB252 #52B256
triadic
#7EB252 #527EB2 #B2527E
tetradic
#7EB252 #52AEB2 #8652B2 #B25652
square
#7EB252 #52AEB2 #8652B2 #B25652
split-complementary
#7EB252 #5652B2 #B252AE
monochromatic
#435F2A #608A3D #7EB252 #9EC57C #BDD8A7

Accessibility & contrast

On white

2.51
#7EB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7EB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB252
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB252#FFFFFF#000000##000000
##7EB2521.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A649
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#7FAC9C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb252;
/* rgb */ color: rgb(126, 178, 82);
/* oklch */ color: oklch(70.6% 0.139 132.5);
Tailwind
colors: {
  custom: {
    50: '#a6c985',
    500: '#7eb252',
    950: '#000000',
  },
}
SCSS
$custom: #7eb252;
$custom-light: #a6c985;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb252",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 92.5,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70557,
    "c": 0.13885,
    "h": 132.5
  },
  "luminance": 0.36886
}

Semantic roles & 50–950 ramp

primary
#7EB252
secondary
#B29BC5
accent
#59CE99
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7EB252

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

Preview Lab → · Contrast checker → · Palette generator →

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