#7EB442#7EB442

#7EB442 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 70.9% C 0.156 H 131.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7EB442
RGBrgb(126, 180, 66)
HSLhsl(88, 46%, 48%)
HSVhsv(88, 63%, 71%)
CMYKcmyk(30%, 0%, 63.3%, 29.4%)
CIE-LABlab(67.63, -36.27, 50.98)
CIE-LCHlch(67.63, 62.57, 125.43°)
OKLaboklab(70.86% -0.102 0.1175)
OKLCHoklch(70.86% 0.156 131)
XYZxyz(25.9086, 37.4707, 11.0207)
Luminance0.3747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB442 #7842B4
analogous
#B4B142 #7EB442 #45B442
triadic
#7EB442 #427EB4 #B4427E
tetradic
#7EB442 #42B4B1 #7842B4 #B44245
square
#7EB442 #42B4B1 #7842B4 #B44245
split-complementary
#7EB442 #4245B4 #B142B4
monochromatic
#3F5A21 #5F8732 #7EB442 #9CC96B #BAD997

Accessibility & contrast

On white

2.47
#7EB442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#7EB442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB442
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB442#FFFFFF#000000##000000
##7EB4421.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA734
Deuteranopia (green-blind)
#B4A34B
Tritanopia (blue-blind)
#80AD9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7eb442;
/* rgb */ color: rgb(126, 180, 66);
/* oklch */ color: oklch(70.9% 0.156 131.0);
Tailwind
colors: {
  custom: {
    50: '#a7ca7b',
    500: '#7eb442',
    950: '#000000',
  },
}
SCSS
$custom: #7eb442;
$custom-light: #a7ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb442",
  "rgb": {
    "r": 126,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 88.421,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.15556,
    "h": 131
  },
  "luminance": 0.37471
}

Semantic roles & 50–950 ramp

primary
#7EB442
secondary
#A78DC5
accent
#52D690
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB442

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

Preview Lab → · Contrast checker → · Palette generator →

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