#7EA12F#7EA12F

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

Color values

HEX#7EA12F
RGBrgb(126, 161, 47)
HSLhsl(78, 55%, 41%)
HSVhsv(78, 71%, 63%)
CMYKcmyk(21.7%, 0%, 70.8%, 36.9%)
CIE-LABlab(61.77, -28.85, 52.64)
CIE-LCHlch(61.77, 60.02, 118.72°)
OKLaboklab(66.06% -0.0832 0.1184)
OKLCHoklch(66.06% 0.145 125.1)
XYZxyz(21.8623, 30.1303, 7.3527)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA12F #522FA1
analogous
#A18B2F #7EA12F #45A12F
triadic
#7EA12F #2F7EA1 #A12F7E
tetradic
#7EA12F #2FA18B #522FA1 #A12F45
square
#7EA12F #2FA18B #522FA1 #A12F45
split-complementary
#7EA12F #2F45A1 #8B2FA1
monochromatic
#344213 #597221 #7EA12F #A0C945 #B8D674

Accessibility & contrast

On white

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

On black

7.03
#7EA12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA12F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA12F#FFFFFF#000000##000000
##7EA12F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ea12f;
/* rgb */ color: rgb(126, 161, 47);
/* oklch */ color: oklch(66.1% 0.145 125.1);
Tailwind
colors: {
  custom: {
    50: '#a7bd6f',
    500: '#7ea12f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea12f;
$custom-light: #a7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea12f",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 78.421,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66058,
    "c": 0.14469,
    "h": 125.1
  },
  "luminance": 0.30131
}

Semantic roles & 50–950 ramp

primary
#7EA12F
secondary
#866EBE
accent
#4ADE77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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