#7EC938#7EC938

#7EC938 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 75.9% C 0.189 H 133.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7EC938
RGBrgb(126, 201, 56)
HSLhsl(91, 57%, 50%)
HSVhsv(91, 72%, 79%)
CMYKcmyk(37.3%, 0%, 72.1%, 21.2%)
CIE-LABlab(73.86, -46.14, 61.44)
CIE-LCHlch(73.86, 76.84, 126.91°)
OKLaboklab(75.92% -0.1297 0.1381)
OKLCHoklch(75.92% 0.189 133.2)
XYZxyz(30.2042, 46.4931, 11.1232)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC938 #8338C9
analogous
#C7C938 #7EC938 #38C93A
triadic
#7EC938 #387EC9 #C9387E
tetradic
#7EC938 #38C7C9 #8338C9 #C93A38
square
#7EC938 #38C7C9 #8338C9 #C93A38
split-complementary
#7EC938 #3A38C9 #C938C7
monochromatic
#426A1D #609A2A #7EC938 #9DD668 #BCE398

Accessibility & contrast

On white

2.04
#7EC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#7EC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC938
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC938#FFFFFF#000000##000000
##7EC9381.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91E
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#7EC1AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7ec938;
/* rgb */ color: rgb(126, 201, 56);
/* oklch */ color: oklch(75.9% 0.189 133.2);
Tailwind
colors: {
  custom: {
    50: '#a9da78',
    500: '#7ec938',
    950: '#000000',
  },
}
SCSS
$custom: #7ec938;
$custom-light: #a9da78;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec938",
  "rgb": {
    "r": 126,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 91.034,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75919,
    "c": 0.18946,
    "h": 133.2
  },
  "luminance": 0.46494
}

Semantic roles & 50–950 ramp

primary
#7EC938
secondary
#B08ECF
accent
#47E197
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#101509
muted
#7F837B

Preview Lab

Preview with #7EC938

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

Preview Lab → · Contrast checker → · Palette generator →

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