#7EA12B#7EA12B

#7EA12B 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#7EA12B
RGBrgb(126, 161, 43)
HSLhsl(78, 58%, 40%)
HSVhsv(78, 73%, 63%)
CMYKcmyk(21.7%, 0%, 73.3%, 36.9%)
CIE-LABlab(61.74, -29.09, 54.12)
CIE-LCHlch(61.74, 61.44, 118.26°)
OKLaboklab(66.03% -0.0842 0.1208)
OKLCHoklch(66.03% 0.147 124.9)
XYZxyz(21.7853, 30.0995, 6.9471)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA12B #4E2BA1
analogous
#A1892B #7EA12B #43A12B
triadic
#7EA12B #2B7EA1 #A12B7E
tetradic
#7EA12B #2BA189 #4E2BA1 #A12B43
square
#7EA12B #2BA189 #4E2BA1 #A12B43
split-complementary
#7EA12B #2B43A1 #892BA1
monochromatic
#324011 #58711E #7EA12B #A1CB3E #B9D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA12B#FFFFFF#000000##000000
##7EA12B1.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)
#AA9615
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea12b;
/* rgb */ color: rgb(126, 161, 43);
/* oklch */ color: oklch(66.0% 0.147 124.9);
Tailwind
colors: {
  custom: {
    50: '#a7bd6d',
    500: '#7ea12b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea12b;
$custom-light: #a7bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea12b",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 77.797,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.66028,
    "c": 0.14729,
    "h": 124.9
  },
  "luminance": 0.301
}

Semantic roles & 50–950 ramp

primary
#7EA12B
secondary
#8269BF
accent
#47E175
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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