#7EA11F#7EA11F

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

Color values

HEX#7EA11F
RGBrgb(126, 161, 31)
HSLhsl(76, 68%, 38%)
HSVhsv(76, 81%, 63%)
CMYKcmyk(21.7%, 0%, 80.7%, 36.9%)
CIE-LABlab(61.67, -29.70, 58.01)
CIE-LCHlch(61.67, 65.17, 117.11°)
OKLaboklab(65.96% -0.0868 0.127)
OKLCHoklch(65.96% 0.154 124.4)
XYZxyz(21.5966, 30.0241, 5.9535)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA11F #421FA1
analogous
#A1831F #7EA11F #3DA11F
triadic
#7EA11F #1F7EA1 #A11F7E
tetradic
#7EA11F #1FA183 #421FA1 #A11F3D
square
#7EA11F #1FA183 #421FA1 #A11F3D
split-complementary
#7EA11F #1F3DA1 #831FA1
monochromatic
#2E3A0B #566E15 #7EA11F #A6D429 #BCDF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA11F#FFFFFF#000000##000000
##7EA11F1.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)
#A6952D
Tritanopia (blue-blind)
#849989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea11f;
/* rgb */ color: rgb(126, 161, 31);
/* oklch */ color: oklch(66.0% 0.154 124.4);
Tailwind
colors: {
  custom: {
    50: '#a7bd67',
    500: '#7ea11f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea11f;
$custom-light: #a7bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea11f",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 76.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65955,
    "c": 0.15388,
    "h": 124.4
  },
  "luminance": 0.30024
}

Semantic roles & 50–950 ramp

primary
#7EA11F
secondary
#7558C4
accent
#3DEB6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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