#7EA12E#7EA12E

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

Color values

HEX#7EA12E
RGBrgb(126, 161, 46)
HSLhsl(78, 56%, 41%)
HSVhsv(78, 71%, 63%)
CMYKcmyk(21.7%, 0%, 71.4%, 36.9%)
CIE-LABlab(61.76, -28.91, 53.01)
CIE-LCHlch(61.76, 60.38, 118.61°)
OKLaboklab(66.05% -0.0835 0.119)
OKLCHoklch(66.05% 0.145 125.1)
XYZxyz(21.8423, 30.1224, 7.2477)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA12E #512EA1
analogous
#A18A2E #7EA12E #44A12E
triadic
#7EA12E #2E7EA1 #A12E7E
tetradic
#7EA12E #2EA18A #512EA1 #A12E44
square
#7EA12E #2EA18A #512EA1 #A12E44
split-complementary
#7EA12E #2E44A1 #8A2EA1
monochromatic
#334213 #597120 #7EA12E #A0C943 #B8D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA12E#FFFFFF#000000##000000
##7EA12E1.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)
#AA961B
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea12e;
/* rgb */ color: rgb(126, 161, 46);
/* oklch */ color: oklch(66.0% 0.145 125.1);
Tailwind
colors: {
  custom: {
    50: '#a7bd6e',
    500: '#7ea12e',
    950: '#000000',
  },
}
SCSS
$custom: #7ea12e;
$custom-light: #a7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea12e",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 78.261,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6605,
    "c": 0.14535,
    "h": 125.1
  },
  "luminance": 0.30123
}

Semantic roles & 50–950 ramp

primary
#7EA12E
secondary
#856CBE
accent
#49DF77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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