#7EA12C#7EA12C

#7EA12C is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.147 H 124.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7EA12C
RGBrgb(126, 161, 44)
HSLhsl(78, 57%, 40%)
HSVhsv(78, 73%, 63%)
CMYKcmyk(21.7%, 0%, 72.7%, 36.9%)
CIE-LABlab(61.75, -29.03, 53.75)
CIE-LCHlch(61.75, 61.09, 118.37°)
OKLaboklab(66.04% -0.084 0.1202)
OKLCHoklch(66.04% 0.147 124.9)
XYZxyz(21.8038, 30.1070, 7.0449)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA12C #4F2CA1
analogous
#A18A2C #7EA12C #43A12C
triadic
#7EA12C #2C7EA1 #A12C7E
tetradic
#7EA12C #2CA18A #4F2CA1 #A12C43
square
#7EA12C #2CA18A #4F2CA1 #A12C43
split-complementary
#7EA12C #2C43A1 #8A2CA1
monochromatic
#334112 #58711F #7EA12C #A1CB40 #B9D870

Accessibility & contrast

On white

2.99
#7EA12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7EA12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA12C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA12C#FFFFFF#000000##000000
##7EA12C1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9617
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea12c;
/* rgb */ color: rgb(126, 161, 44);
/* oklch */ color: oklch(66.0% 0.147 124.9);
Tailwind
colors: {
  custom: {
    50: '#a7bd6d',
    500: '#7ea12c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea12c;
$custom-light: #a7bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea12c",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 77.949,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66035,
    "c": 0.14666,
    "h": 124.9
  },
  "luminance": 0.30107
}

Semantic roles & 50–950 ramp

primary
#7EA12C
secondary
#836ABF
accent
#47E075
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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