#7EB02A#7EB02A

#7EB02A is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.7% C 0.167 H 128.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7EB02A
RGBrgb(126, 176, 42)
HSLhsl(82, 61%, 43%)
HSVhsv(82, 76%, 69%)
CMYKcmyk(28.4%, 0%, 76.1%, 31%)
CIE-LABlab(66.25, -36.13, 58.83)
CIE-LCHlch(66.25, 69.04, 121.55°)
OKLaboklab(69.69% -0.1035 0.1306)
OKLCHoklch(69.69% 0.167 128.4)
XYZxyz(24.5474, 35.6528, 7.7784)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB02A #5C2AB0
analogous
#B09F2A #7EB02A #3BB02A
triadic
#7EB02A #2A7EB0 #B02A7E
tetradic
#7EB02A #2AB09F #5C2AB0 #B02A3B
square
#7EB02A #2AB09F #5C2AB0 #B02A3B
split-complementary
#7EB02A #2A3BB0 #9F2AB0
monochromatic
#374D12 #5B7F1E #7EB02A #9ED345 #B7DE76

Accessibility & contrast

On white

2.58
#7EB02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#7EB02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB02A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB02A#FFFFFF#000000##000000
##7EB02A1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A309
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#82A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eb02a;
/* rgb */ color: rgb(126, 176, 42);
/* oklch */ color: oklch(69.7% 0.167 128.4);
Tailwind
colors: {
  custom: {
    50: '#a8c86e',
    500: '#7eb02a',
    950: '#000000',
  },
}
SCSS
$custom: #7eb02a;
$custom-light: #a8c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb02a",
  "rgb": {
    "r": 126,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 82.388,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69688,
    "c": 0.16662,
    "h": 128.4
  },
  "luminance": 0.35653
}

Semantic roles & 50–950 ramp

primary
#7EB02A
secondary
#9070C6
accent
#43E57F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB02A

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

Preview Lab → · Contrast checker → · Palette generator →

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