#7EB245#7EB245

#7EB245 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.150 H 130.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7EB245
RGBrgb(126, 178, 69)
HSLhsl(89, 44%, 48%)
HSVhsv(89, 61%, 70%)
CMYKcmyk(29.2%, 0%, 61.2%, 30.2%)
CIE-LABlab(67.06, -35.10, 49.03)
CIE-LCHlch(67.06, 60.30, 125.60°)
OKLaboklab(70.4% -0.0985 0.1137)
OKLCHoklch(70.4% 0.15 130.9)
XYZxyz(25.5985, 36.7053, 11.3652)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB245 #7945B2
analogous
#B2AF45 #7EB245 #47B245
triadic
#7EB245 #457EB2 #B2457E
tetradic
#7EB245 #45B2AF #7945B2 #B24547
square
#7EB245 #45B2AF #7945B2 #B24547
split-complementary
#7EB245 #4547B2 #AF45B2
monochromatic
#405A23 #5F8634 #7EB245 #9CC76E #BAD89A

Accessibility & contrast

On white

2.52
#7EB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7EB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB245
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB245#FFFFFF#000000##000000
##7EB2451.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA639
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#80AB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb245;
/* rgb */ color: rgb(126, 178, 69);
/* oklch */ color: oklch(70.4% 0.150 130.9);
Tailwind
colors: {
  custom: {
    50: '#a7c97d',
    500: '#7eb245',
    950: '#000000',
  },
}
SCSS
$custom: #7eb245;
$custom-light: #a7c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb245",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 88.624,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70403,
    "c": 0.15042,
    "h": 130.9
  },
  "luminance": 0.36706
}

Semantic roles & 50–950 ramp

primary
#7EB245
secondary
#A88FC4
accent
#54D491
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB245

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

Preview Lab → · Contrast checker → · Palette generator →

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