#7EB02F#7EB02F

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

Color values

HEX#7EB02F
RGBrgb(126, 176, 47)
HSLhsl(83, 58%, 44%)
HSVhsv(83, 73%, 69%)
CMYKcmyk(28.4%, 0%, 73.3%, 31%)
CIE-LABlab(66.28, -35.84, 57.14)
CIE-LCHlch(66.28, 67.45, 122.10°)
OKLaboklab(69.72% -0.1024 0.1278)
OKLCHoklch(69.72% 0.164 128.7)
XYZxyz(24.6426, 35.6909, 8.2795)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB02F #612FB0
analogous
#B0A12F #7EB02F #3DB02F
triadic
#7EB02F #2F7EB0 #B02F7E
tetradic
#7EB02F #2FB0A1 #612FB0 #B02F3D
square
#7EB02F #2FB0A1 #612FB0 #B02F3D
split-complementary
#7EB02F #2F3DB0 #A12FB0
monochromatic
#394F15 #5B8022 #7EB02F #9DCF4D #B7DC7D

Accessibility & contrast

On white

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

On black

8.14
#7EB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB02F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB02F#FFFFFF#000000##000000
##7EB02F1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eb02f;
/* rgb */ color: rgb(126, 176, 47);
/* oklch */ color: oklch(69.7% 0.164 128.7);
Tailwind
colors: {
  custom: {
    50: '#a7c870',
    500: '#7eb02f',
    950: '#000000',
  },
}
SCSS
$custom: #7eb02f;
$custom-light: #a7c870;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb02f",
  "rgb": {
    "r": 126,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 83.256,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69721,
    "c": 0.16373,
    "h": 128.7
  },
  "luminance": 0.35692
}

Semantic roles & 50–950 ramp

primary
#7EB02F
secondary
#9576C5
accent
#47E183
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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