#7EA52C#7EA52C

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

Color values

HEX#7EA52C
RGBrgb(126, 165, 44)
HSLhsl(79, 58%, 41%)
HSVhsv(79, 73%, 65%)
CMYKcmyk(23.6%, 0%, 73.3%, 35.3%)
CIE-LABlab(62.95, -30.94, 54.94)
CIE-LCHlch(62.95, 63.05, 119.38°)
OKLaboklab(67.01% -0.0892 0.1227)
OKLCHoklch(67.01% 0.152 126)
XYZxyz(22.5141, 31.5274, 7.2816)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA52C #532CA5
analogous
#A58F2C #7EA52C #41A52C
triadic
#7EA52C #2C7EA5 #A52C7E
tetradic
#7EA52C #2CA58F #532CA5 #A52C41
square
#7EA52C #2CA58F #532CA5 #A52C41
split-complementary
#7EA52C #2C41A5 #8F2CA5
monochromatic
#344412 #59751F #7EA52C #A0CD42 #B8D972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA52C#FFFFFF#000000##000000
##7EA52C1.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)
#AE9A15
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#839D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea52c;
/* rgb */ color: rgb(126, 165, 44);
/* oklch */ color: oklch(67.0% 0.152 126.0);
Tailwind
colors: {
  custom: {
    50: '#a7c06e',
    500: '#7ea52c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea52c;
$custom-light: #a7c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea52c",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 79.339,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6701,
    "c": 0.15171,
    "h": 126
  },
  "luminance": 0.31528
}

Semantic roles & 50–950 ramp

primary
#7EA52C
secondary
#876CC1
accent
#47E178
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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