#7EA126#7EA126

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

Color values

HEX#7EA126
RGBrgb(126, 161, 38)
HSLhsl(77, 62%, 39%)
HSVhsv(77, 76%, 63%)
CMYKcmyk(21.7%, 0%, 76.4%, 36.9%)
CIE-LABlab(61.71, -29.37, 55.84)
CIE-LCHlch(61.71, 63.10, 117.74°)
OKLaboklab(66% -0.0854 0.1236)
OKLCHoklch(66% 0.15 124.6)
XYZxyz(21.6991, 30.0651, 6.4933)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA126 #4926A1
analogous
#A18726 #7EA126 #41A126
triadic
#7EA126 #267EA1 #A1267E
tetradic
#7EA126 #26A187 #4926A1 #A12641
square
#7EA126 #26A187 #4926A1 #A12641
split-complementary
#7EA126 #2641A1 #8726A1
monochromatic
#313E0F #576F1A #7EA126 #A3CF35 #BADB66

Accessibility & contrast

On white

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

On black

7.01
#7EA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA126
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA126#FFFFFF#000000##000000
##7EA1261.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9608
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea126;
/* rgb */ color: rgb(126, 161, 38);
/* oklch */ color: oklch(66.0% 0.150 124.6);
Tailwind
colors: {
  custom: {
    50: '#a7bd6a',
    500: '#7ea126',
    950: '#000000',
  },
}
SCSS
$custom: #7ea126;
$custom-light: #a7bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea126",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 77.073,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65995,
    "c": 0.15027,
    "h": 124.6
  },
  "luminance": 0.30065
}

Semantic roles & 50–950 ramp

primary
#7EA126
secondary
#7D62C1
accent
#43E571
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA126

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

Preview Lab → · Contrast checker → · Palette generator →

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