#7EA02F#7EA02F

#7EA02F is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.143 H 124.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7EA02F
RGBrgb(126, 160, 47)
HSLhsl(78, 55%, 41%)
HSVhsv(78, 71%, 63%)
CMYKcmyk(21.2%, 0%, 70.6%, 37.3%)
CIE-LABlab(61.47, -28.37, 52.33)
CIE-LCHlch(61.47, 59.53, 118.46°)
OKLaboklab(65.82% -0.0819 0.1177)
OKLCHoklch(65.82% 0.143 124.8)
XYZxyz(21.6882, 29.7822, 7.2947)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA02F #512FA0
analogous
#A0892F #7EA02F #46A02F
triadic
#7EA02F #2F7EA0 #A02F7E
tetradic
#7EA02F #2FA089 #512FA0 #A02F46
square
#7EA02F #2FA089 #512FA0 #A02F46
split-complementary
#7EA02F #2F46A0 #892FA0
monochromatic
#334113 #597121 #7EA02F #A0C844 #B8D673

Accessibility & contrast

On white

3.02
#7EA02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7EA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA02F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA02F#FFFFFF#000000##000000
##7EA02F1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961D
Deuteranopia (green-blind)
#A49438
Tritanopia (blue-blind)
#84988A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ea02f;
/* rgb */ color: rgb(126, 160, 47);
/* oklch */ color: oklch(65.8% 0.143 124.8);
Tailwind
colors: {
  custom: {
    50: '#a7bc6f',
    500: '#7ea02f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea02f;
$custom-light: #a7bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea02f",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 78.053,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65815,
    "c": 0.1434,
    "h": 124.8
  },
  "luminance": 0.29782
}

Semantic roles & 50–950 ramp

primary
#7EA02F
secondary
#856DBE
accent
#4ADE76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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