#7EA52A#7EA52A

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

Color values

HEX#7EA52A
RGBrgb(126, 165, 42)
HSLhsl(79, 59%, 41%)
HSVhsv(79, 75%, 65%)
CMYKcmyk(23.6%, 0%, 74.5%, 35.3%)
CIE-LABlab(62.94, -31.05, 55.64)
CIE-LCHlch(62.94, 63.72, 119.16°)
OKLaboklab(67% -0.0897 0.1239)
OKLCHoklch(67% 0.153 125.9)
XYZxyz(22.4774, 31.5127, 7.0884)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA52A #512AA5
analogous
#A58E2A #7EA52A #41A52A
triadic
#7EA52A #2A7EA5 #A52A7E
tetradic
#7EA52A #2AA58E #512AA5 #A52A41
square
#7EA52A #2AA58E #512AA5 #A52A41
split-complementary
#7EA52A #2A41A5 #8E2AA5
monochromatic
#334311 #59741E #7EA52A #A0CE3E #B8DA6F

Accessibility & contrast

On white

2.88
#7EA52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#7EA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA52A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA52A#FFFFFF#000000##000000
##7EA52A1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A11
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#849D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea52a;
/* rgb */ color: rgb(126, 165, 42);
/* oklch */ color: oklch(67.0% 0.153 125.9);
Tailwind
colors: {
  custom: {
    50: '#a7c06d',
    500: '#7ea52a',
    950: '#000000',
  },
}
SCSS
$custom: #7ea52a;
$custom-light: #a7c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea52a",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 79.024,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66996,
    "c": 0.15292,
    "h": 125.9
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#7EA52A
secondary
#8569C1
accent
#45E377
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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