#7EA12A#7EA12A

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

Color values

HEX#7EA12A
RGBrgb(126, 161, 42)
HSLhsl(78, 59%, 40%)
HSVhsv(78, 74%, 63%)
CMYKcmyk(21.7%, 0%, 73.9%, 36.9%)
CIE-LABlab(61.73, -29.15, 54.47)
CIE-LCHlch(61.73, 61.78, 118.15°)
OKLaboklab(66.02% -0.0845 0.1214)
OKLCHoklch(66.02% 0.148 124.8)
XYZxyz(21.7672, 30.0923, 6.8517)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA12A #4D2AA1
analogous
#A1892A #7EA12A #43A12A
triadic
#7EA12A #2A7EA1 #A12A7E
tetradic
#7EA12A #2AA189 #4D2AA1 #A12A43
square
#7EA12A #2AA189 #4D2AA1 #A12A43
split-complementary
#7EA12A #2A43A1 #892AA1
monochromatic
#324011 #58701D #7EA12A #A2CC3C #B9D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA12A#FFFFFF#000000##000000
##7EA12A1.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)
#AA9613
Deuteranopia (green-blind)
#A59535
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea12a;
/* rgb */ color: rgb(126, 161, 42);
/* oklch */ color: oklch(66.0% 0.148 124.8);
Tailwind
colors: {
  custom: {
    50: '#a7bd6c',
    500: '#7ea12a',
    950: '#000000',
  },
}
SCSS
$custom: #7ea12a;
$custom-light: #a7bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea12a",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 77.647,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66021,
    "c": 0.14792,
    "h": 124.8
  },
  "luminance": 0.30093
}

Semantic roles & 50–950 ramp

primary
#7EA12A
secondary
#8167C0
accent
#46E274
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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