#7EA52E#7EA52E

#7EA52E is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.0% C 0.150 H 126.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7EA52E
RGBrgb(126, 165, 46)
HSLhsl(80, 56%, 41%)
HSVhsv(80, 72%, 65%)
CMYKcmyk(23.6%, 0%, 72.1%, 35.3%)
CIE-LABlab(62.96, -30.81, 54.22)
CIE-LCHlch(62.96, 62.36, 119.61°)
OKLaboklab(67.03% -0.0887 0.1215)
OKLCHoklch(67.03% 0.15 126.1)
XYZxyz(22.5526, 31.5428, 7.4844)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA52E #552EA5
analogous
#A5912E #7EA52E #43A52E
triadic
#7EA52E #2E7EA5 #A52E7E
tetradic
#7EA52E #2EA591 #552EA5 #A52E43
square
#7EA52E #2EA591 #552EA5 #A52E43
split-complementary
#7EA52E #2E43A5 #912EA5
monochromatic
#354513 #597521 #7EA52E #9FCB45 #B8D875

Accessibility & contrast

On white

2.87
#7EA52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#7EA52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA52E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA52E#FFFFFF#000000##000000
##7EA52E1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A19
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#839D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea52e;
/* rgb */ color: rgb(126, 165, 46);
/* oklch */ color: oklch(67.0% 0.150 126.1);
Tailwind
colors: {
  custom: {
    50: '#a7c06f',
    500: '#7ea52e',
    950: '#000000',
  },
}
SCSS
$custom: #7ea52e;
$custom-light: #a7c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea52e",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 79.664,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67025,
    "c": 0.15045,
    "h": 126.1
  },
  "luminance": 0.31543
}

Semantic roles & 50–950 ramp

primary
#7EA52E
secondary
#896FC0
accent
#48E07A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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