#7EA62C#7EA62C

#7EA62C is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.153 H 126.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7EA62C
RGBrgb(126, 166, 44)
HSLhsl(80, 58%, 41%)
HSVhsv(80, 73%, 65%)
CMYKcmyk(24.1%, 0%, 73.5%, 34.9%)
CIE-LABlab(63.25, -31.41, 55.24)
CIE-LCHlch(63.25, 63.54, 119.62°)
OKLaboklab(67.25% -0.0905 0.1233)
OKLCHoklch(67.25% 0.153 126.3)
XYZxyz(22.6951, 31.8895, 7.3420)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA62C #542CA6
analogous
#A6912C #7EA62C #41A62C
triadic
#7EA62C #2C7EA6 #A62C7E
tetradic
#7EA62C #2CA691 #542CA6 #A62C41
square
#7EA62C #2CA691 #542CA6 #A62C41
split-complementary
#7EA62C #2C41A6 #912CA6
monochromatic
#354512 #59761F #7EA62C #9FCD42 #B8DA73

Accessibility & contrast

On white

2.85
#7EA62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7EA62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA62C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA62C#FFFFFF#000000##000000
##7EA62C1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B15
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#839E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea62c;
/* rgb */ color: rgb(126, 166, 44);
/* oklch */ color: oklch(67.3% 0.153 126.3);
Tailwind
colors: {
  custom: {
    50: '#a7c06e',
    500: '#7ea62c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea62c;
$custom-light: #a7c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea62c",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 79.672,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67254,
    "c": 0.15297,
    "h": 126.3
  },
  "luminance": 0.3189
}

Semantic roles & 50–950 ramp

primary
#7EA62C
secondary
#886DC1
accent
#46E179
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA62C

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

Preview Lab → · Contrast checker → · Palette generator →

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