#7EA52D#7EA52D

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

Color values

HEX#7EA52D
RGBrgb(126, 165, 45)
HSLhsl(80, 57%, 41%)
HSVhsv(80, 73%, 65%)
CMYKcmyk(23.6%, 0%, 72.7%, 35.3%)
CIE-LABlab(62.96, -30.88, 54.58)
CIE-LCHlch(62.96, 62.71, 119.50°)
OKLaboklab(67.02% -0.089 0.1221)
OKLCHoklch(67.02% 0.151 126.1)
XYZxyz(22.5331, 31.5350, 7.3818)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA52D #542DA5
analogous
#A5902D #7EA52D #42A52D
triadic
#7EA52D #2D7EA5 #A52D7E
tetradic
#7EA52D #2DA590 #542DA5 #A52D42
square
#7EA52D #2DA590 #542DA5 #A52D42
split-complementary
#7EA52D #2D42A5 #902DA5
monochromatic
#354513 #597520 #7EA52D #9FCC43 #B8D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA52D#FFFFFF#000000##000000
##7EA52D1.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)
#AE9A17
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#839D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea52d;
/* rgb */ color: rgb(126, 165, 45);
/* oklch */ color: oklch(67.0% 0.151 126.1);
Tailwind
colors: {
  custom: {
    50: '#a7c06e',
    500: '#7ea52d',
    950: '#000000',
  },
}
SCSS
$custom: #7ea52d;
$custom-light: #a7c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea52d",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 79.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67017,
    "c": 0.15108,
    "h": 126.1
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#7EA52D
secondary
#886DC1
accent
#47E079
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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