#7EB02C#7EB02C

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

Color values

HEX#7EB02C
RGBrgb(126, 176, 44)
HSLhsl(83, 60%, 43%)
HSVhsv(83, 75%, 69%)
CMYKcmyk(28.4%, 0%, 75%, 31%)
CIE-LABlab(66.27, -36.02, 58.17)
CIE-LCHlch(66.27, 68.42, 121.77°)
OKLaboklab(69.7% -0.1031 0.1295)
OKLCHoklch(69.7% 0.166 128.5)
XYZxyz(24.5841, 35.6675, 7.9717)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB02C #5E2CB0
analogous
#B0A02C #7EB02C #3CB02C
triadic
#7EB02C #2C7EB0 #B02C7E
tetradic
#7EB02C #2CB0A0 #5E2CB0 #B02C3C
square
#7EB02C #2CB0A0 #5E2CB0 #B02C3C
split-complementary
#7EB02C #2C3CB0 #A02CB0
monochromatic
#384E14 #5B7F20 #7EB02C #9DD148 #B7DD79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB02C#FFFFFF#000000##000000
##7EB02C1.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)
#B9A30F
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#82A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eb02c;
/* rgb */ color: rgb(126, 176, 44);
/* oklch */ color: oklch(69.7% 0.166 128.5);
Tailwind
colors: {
  custom: {
    50: '#a8c86f',
    500: '#7eb02c',
    950: '#000000',
  },
}
SCSS
$custom: #7eb02c;
$custom-light: #a8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb02c",
  "rgb": {
    "r": 126,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 82.727,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69701,
    "c": 0.1655,
    "h": 128.5
  },
  "luminance": 0.35668
}

Semantic roles & 50–950 ramp

primary
#7EB02C
secondary
#9272C6
accent
#45E381
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB02C

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

Preview Lab → · Contrast checker → · Palette generator →

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