#7EA11B#7EA11B

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

Color values

HEX#7EA11B
RGBrgb(126, 161, 27)
HSLhsl(76, 71%, 37%)
HSVhsv(76, 83%, 63%)
CMYKcmyk(21.7%, 0%, 83.2%, 36.9%)
CIE-LABlab(61.66, -29.86, 59.11)
CIE-LCHlch(61.66, 66.22, 116.80°)
OKLaboklab(65.94% -0.0875 0.1287)
OKLCHoklch(65.94% 0.156 124.2)
XYZxyz(21.5471, 30.0043, 5.6929)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA11B #3E1BA1
analogous
#A1811B #7EA11B #3BA11B
triadic
#7EA11B #1B7EA1 #A11B7E
tetradic
#7EA11B #1BA181 #3E1BA1 #A11B3B
square
#7EA11B #1BA181 #3E1BA1 #A11B3B
split-complementary
#7EA11B #1B3BA1 #811BA1
monochromatic
#2C3809 #556D12 #7EA11B #A7D524 #BDE254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA11B#FFFFFF#000000##000000
##7EA11B1.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)
#AB9600
Deuteranopia (green-blind)
#A6952A
Tritanopia (blue-blind)
#849989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea11b;
/* rgb */ color: rgb(126, 161, 27);
/* oklch */ color: oklch(65.9% 0.156 124.2);
Tailwind
colors: {
  custom: {
    50: '#a7bd66',
    500: '#7ea11b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea11b;
$custom-light: #a7bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea11b",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 75.672,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65935,
    "c": 0.15565,
    "h": 124.2
  },
  "luminance": 0.30004
}

Semantic roles & 50–950 ramp

primary
#7EA11B
secondary
#7052C5
accent
#3AEE69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7EA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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