#7EB262#7EB262

#7EB262 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.8% C 0.123 H 135.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7EB262
RGBrgb(126, 178, 98)
HSLhsl(99, 34%, 54%)
HSVhsv(99, 45%, 70%)
CMYKcmyk(29.2%, 0%, 44.9%, 30.2%)
CIE-LABlab(67.39, -31.88, 35.43)
CIE-LCHlch(67.39, 47.66, 131.99°)
OKLaboklab(70.79% -0.0876 0.0862)
OKLCHoklch(70.79% 0.123 135.4)
XYZxyz(26.7285, 37.1573, 17.3167)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB262 #9662B2
analogous
#A6B262 #7EB262 #62B26E
triadic
#7EB262 #627EB2 #B2627E
tetradic
#7EB262 #62A6B2 #9662B2 #B26E62
square
#7EB262 #62A6B2 #9662B2 #B26E62
split-complementary
#7EB262 #6E62B2 #B262A6
monochromatic
#456733 #609047 #7EB262 #A0C68B #C1DAB4

Accessibility & contrast

On white

2.49
#7EB262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#7EB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB262
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB262#FFFFFF#000000##000000
##7EB2621.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A75C
Deuteranopia (green-blind)
#B0A267
Tritanopia (blue-blind)
#7DAD9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb262;
/* rgb */ color: rgb(126, 178, 98);
/* oklch */ color: oklch(70.8% 0.123 135.4);
Tailwind
colors: {
  custom: {
    50: '#a5c990',
    500: '#7eb262',
    950: '#000000',
  },
}
SCSS
$custom: #7eb262;
$custom-light: #a5c990;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb262",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 99,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.70789,
    "c": 0.12287,
    "h": 135.4
  },
  "luminance": 0.37158
}

Semantic roles & 50–950 ramp

primary
#7EB262
secondary
#BDA7C9
accent
#5ECAA4
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7EB262

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

Preview Lab → · Contrast checker → · Palette generator →

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