#7EB225#7EB225

#7EB225 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.2% C 0.172 H 128.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7EB225
RGBrgb(126, 178, 37)
HSLhsl(82, 66%, 42%)
HSVhsv(82, 79%, 70%)
CMYKcmyk(29.2%, 0%, 79.2%, 30.2%)
CIE-LABlab(66.83, -37.28, 60.95)
CIE-LCHlch(66.83, 71.44, 121.45°)
OKLaboklab(70.15% -0.107 0.1342)
OKLCHoklch(70.15% 0.172 128.6)
XYZxyz(24.8585, 36.4093, 7.4679)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB225 #5925B2
analogous
#B2A025 #7EB225 #37B225
triadic
#7EB225 #257EB2 #B2257E
tetradic
#7EB225 #25B2A0 #5925B2 #B22537
square
#7EB225 #25B2A0 #5925B2 #B22537
split-complementary
#7EB225 #2537B2 #A025B2
monochromatic
#364D10 #5A7F1A #7EB225 #9ED73D #B8E170

Accessibility & contrast

On white

2.54
#7EB225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7EB225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB225
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB225#FFFFFF#000000##000000
##7EB2251.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B4A134
Tritanopia (blue-blind)
#82AA98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb225;
/* rgb */ color: rgb(126, 178, 37);
/* oklch */ color: oklch(70.2% 0.172 128.6);
Tailwind
colors: {
  custom: {
    50: '#a8c96c',
    500: '#7eb225',
    950: '#000000',
  },
}
SCSS
$custom: #7eb225;
$custom-light: #a8c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb225",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 82.128,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7015,
    "c": 0.17164,
    "h": 128.6
  },
  "luminance": 0.3641
}

Semantic roles & 50–950 ramp

primary
#7EB225
secondary
#8D6BC8
accent
#3FE97E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7EB225

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

Preview Lab → · Contrast checker → · Palette generator →

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