#7EB742#7EB742

#7EB742 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.6% C 0.160 H 131.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7EB742
RGBrgb(126, 183, 66)
HSLhsl(89, 47%, 49%)
HSVhsv(89, 64%, 72%)
CMYKcmyk(31.1%, 0%, 63.9%, 28.2%)
CIE-LABlab(68.53, -37.63, 51.96)
CIE-LCHlch(68.53, 64.15, 125.91°)
OKLaboklab(71.59% -0.1057 0.1196)
OKLCHoklch(71.59% 0.16 131.5)
XYZxyz(26.5207, 38.6951, 11.2248)
Luminance0.3870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB742 #7B42B7
analogous
#B7B642 #7EB742 #44B742
triadic
#7EB742 #427EB7 #B7427E
tetradic
#7EB742 #42B7B6 #7B42B7 #B74244
square
#7EB742 #42B7B6 #7B42B7 #B74244
split-complementary
#7EB742 #4244B7 #B642B7
monochromatic
#405D22 #5F8A32 #7EB742 #9CCA6C #BBDA99

Accessibility & contrast

On white

2.40
#7EB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#7EB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB742
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB742#FFFFFF#000000##000000
##7EB7421.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#B7A64B
Tritanopia (blue-blind)
#80B09F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7eb742;
/* rgb */ color: rgb(126, 183, 66);
/* oklch */ color: oklch(71.6% 0.160 131.5);
Tailwind
colors: {
  custom: {
    50: '#a7cd7c',
    500: '#7eb742',
    950: '#000000',
  },
}
SCSS
$custom: #7eb742;
$custom-light: #a7cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb742",
  "rgb": {
    "r": 126,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 89.231,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.15956,
    "h": 131.5
  },
  "luminance": 0.38696
}

Semantic roles & 50–950 ramp

primary
#7EB742
secondary
#AA8FC6
accent
#51D792
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB742

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

Preview Lab → · Contrast checker → · Palette generator →

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