#7EA71F#7EA71F

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

Color values

HEX#7EA71F
RGBrgb(126, 167, 31)
HSLhsl(78, 69%, 39%)
HSVhsv(78, 81%, 65%)
CMYKcmyk(24.6%, 0%, 81.4%, 34.5%)
CIE-LABlab(63.48, -32.52, 59.64)
CIE-LCHlch(63.48, 67.93, 118.60°)
OKLaboklab(67.42% -0.0945 0.1305)
OKLCHoklch(67.42% 0.161 125.9)
XYZxyz(22.6704, 32.1716, 6.3114)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA71F #481FA7
analogous
#A78C1F #7EA71F #3AA71F
triadic
#7EA71F #1F7EA7 #A71F7E
tetradic
#7EA71F #1FA78C #481FA7 #A71F3A
square
#7EA71F #1FA78C #481FA7 #A71F3A
split-complementary
#7EA71F #1F3AA7 #8C1FA7
monochromatic
#30400C #577315 #7EA71F #A4D82B #BAE15F

Accessibility & contrast

On white

2.82
#7EA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA71F#FFFFFF#000000##000000
##7EA71F1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ea71f;
/* rgb */ color: rgb(126, 167, 31);
/* oklch */ color: oklch(67.4% 0.161 125.9);
Tailwind
colors: {
  custom: {
    50: '#a8c168',
    500: '#7ea71f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea71f;
$custom-light: #a8c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea71f",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 78.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67422,
    "c": 0.16112,
    "h": 125.9
  },
  "luminance": 0.32172
}

Semantic roles & 50–950 ramp

primary
#7EA71F
secondary
#7C5CC6
accent
#3CEC71
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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