#7EA12D#7EA12D

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

Color values

HEX#7EA12D
RGBrgb(126, 161, 45)
HSLhsl(78, 56%, 40%)
HSVhsv(78, 72%, 63%)
CMYKcmyk(21.7%, 0%, 72%, 36.9%)
CIE-LABlab(61.75, -28.97, 53.39)
CIE-LCHlch(61.75, 60.74, 118.49°)
OKLaboklab(66.04% -0.0837 0.1196)
OKLCHoklch(66.04% 0.146 125)
XYZxyz(21.8229, 30.1146, 7.1451)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA12D #502DA1
analogous
#A18A2D #7EA12D #44A12D
triadic
#7EA12D #2D7EA1 #A12D7E
tetradic
#7EA12D #2DA18A #502DA1 #A12D44
square
#7EA12D #2DA18A #502DA1 #A12D44
split-complementary
#7EA12D #2D44A1 #8A2DA1
monochromatic
#334112 #597120 #7EA12D #A1CA41 #B8D771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA12D#FFFFFF#000000##000000
##7EA12D1.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)
#AA9619
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea12d;
/* rgb */ color: rgb(126, 161, 45);
/* oklch */ color: oklch(66.0% 0.146 125.0);
Tailwind
colors: {
  custom: {
    50: '#a7bd6e',
    500: '#7ea12d',
    950: '#000000',
  },
}
SCSS
$custom: #7ea12d;
$custom-light: #a7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea12d",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 78.103,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66043,
    "c": 0.14602,
    "h": 125
  },
  "luminance": 0.30115
}

Semantic roles & 50–950 ramp

primary
#7EA12D
secondary
#846BBF
accent
#48E076
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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