#7EA11C#7EA11C

#7EA11C is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.9% C 0.155 H 124.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7EA11C
RGBrgb(126, 161, 28)
HSLhsl(76, 70%, 37%)
HSVhsv(76, 83%, 63%)
CMYKcmyk(21.7%, 0%, 82.6%, 36.9%)
CIE-LABlab(61.66, -29.82, 58.84)
CIE-LCHlch(61.66, 65.97, 116.87°)
OKLaboklab(65.94% -0.0874 0.1283)
OKLCHoklch(65.94% 0.155 124.3)
XYZxyz(21.5589, 30.0090, 5.7549)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA11C #3F1CA1
analogous
#A1811C #7EA11C #3CA11C
triadic
#7EA11C #1C7EA1 #A11C7E
tetradic
#7EA11C #1CA181 #3F1CA1 #A11C3C
square
#7EA11C #1CA181 #3F1CA1 #A11C3C
split-complementary
#7EA11C #1C3CA1 #811CA1
monochromatic
#2C390A #556D13 #7EA11C #A7D525 #BDE256

Accessibility & contrast

On white

3.00
#7EA11C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#7EA11C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA11C
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA11C#FFFFFF#000000##000000
##7EA11C1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A6952B
Tritanopia (blue-blind)
#849989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea11c;
/* rgb */ color: rgb(126, 161, 28);
/* oklch */ color: oklch(65.9% 0.155 124.3);
Tailwind
colors: {
  custom: {
    50: '#a7bd66',
    500: '#7ea11c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea11c;
$custom-light: #a7bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea11c",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 75.789,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6594,
    "c": 0.15523,
    "h": 124.3
  },
  "luminance": 0.30009
}

Semantic roles & 50–950 ramp

primary
#7EA11C
secondary
#7254C5
accent
#3BED6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7EA11C

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

Preview Lab → · Contrast checker → · Palette generator →

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