#7EC238#7EC238

#7EC238 is a light, vivid yellow-green. Relative luminance 0.433; OKLCH L 74.2% C 0.181 H 132.3°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7EC238
RGBrgb(126, 194, 56)
HSLhsl(90, 55%, 49%)
HSVhsv(90, 71%, 76%)
CMYKcmyk(35.1%, 0%, 71.1%, 23.9%)
CIE-LABlab(71.76, -43.19, 59.33)
CIE-LCHlch(71.76, 73.39, 126.05°)
OKLaboklab(74.2% -0.1217 0.1337)
OKLCHoklch(74.2% 0.181 132.3)
XYZxyz(28.6094, 43.3036, 10.5916)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC238 #7C38C2
analogous
#C2C138 #7EC238 #39C238
triadic
#7EC238 #387EC2 #C2387E
tetradic
#7EC238 #38C2C1 #7C38C2 #C23839
square
#7EC238 #38C2C1 #7C38C2 #C23839
split-complementary
#7EC238 #3839C2 #C138C2
monochromatic
#40631D #5F932A #7EC238 #9CD265 #BBE094

Accessibility & contrast

On white

2.17
#7EC238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#7EC238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC238
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC238#FFFFFF#000000##000000
##7EC2381.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB321
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#7FBAA7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7ec238;
/* rgb */ color: rgb(126, 194, 56);
/* oklch */ color: oklch(74.2% 0.181 132.3);
Tailwind
colors: {
  custom: {
    50: '#a8d577',
    500: '#7ec238',
    950: '#000000',
  },
}
SCSS
$custom: #7ec238;
$custom-light: #a8d577;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec238",
  "rgb": {
    "r": 126,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 89.565,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74201,
    "c": 0.18077,
    "h": 132.3
  },
  "luminance": 0.43305
}

Semantic roles & 50–950 ramp

primary
#7EC238
secondary
#AA8ACB
accent
#49DF93
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#101409
muted
#7F837B

Preview Lab

Preview with #7EC238

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

Preview Lab → · Contrast checker → · Palette generator →

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