#7EA71E#7EA71E

#7EA71E is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.4% C 0.162 H 125.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7EA71E
RGBrgb(126, 167, 30)
HSLhsl(78, 70%, 39%)
HSVhsv(78, 82%, 65%)
CMYKcmyk(24.6%, 0%, 82%, 34.5%)
CIE-LABlab(63.48, -32.56, 59.91)
CIE-LCHlch(63.48, 68.19, 118.53°)
OKLaboklab(67.42% -0.0947 0.1309)
OKLCHoklch(67.42% 0.162 125.9)
XYZxyz(22.6574, 32.1664, 6.2431)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA71E #471EA7
analogous
#A78B1E #7EA71E #39A71E
triadic
#7EA71E #1E7EA7 #A71E7E
tetradic
#7EA71E #1EA78B #471EA7 #A71E39
square
#7EA71E #1EA78B #471EA7 #A71E39
split-complementary
#7EA71E #1E39A7 #8B1EA7
monochromatic
#303F0B #577315 #7EA71E #A4D92A #BAE25D

Accessibility & contrast

On white

2.83
#7EA71E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7EA71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA71E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA71E#FFFFFF#000000##000000
##7EA71E1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#849F8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea71e;
/* rgb */ color: rgb(126, 167, 30);
/* oklch */ color: oklch(67.4% 0.162 125.9);
Tailwind
colors: {
  custom: {
    50: '#a8c168',
    500: '#7ea71e',
    950: '#000000',
  },
}
SCSS
$custom: #7ea71e;
$custom-light: #a8c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea71e",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 77.956,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67417,
    "c": 0.16156,
    "h": 125.9
  },
  "luminance": 0.32167
}

Semantic roles & 50–950 ramp

primary
#7EA71E
secondary
#7B5BC6
accent
#3BEC70
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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