#7ECB2E#7ECB2E

#7ECB2E is a light, vivid yellow-green. Relative luminance 0.473; OKLCH L 76.3% C 0.197 H 132.8°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7ECB2E
RGBrgb(126, 203, 46)
HSLhsl(89, 63%, 49%)
HSVhsv(89, 77%, 80%)
CMYKcmyk(37.9%, 0%, 77.3%, 20.4%)
CIE-LABlab(74.41, -47.56, 65.29)
CIE-LCHlch(74.41, 80.77, 126.07°)
OKLaboklab(76.35% -0.1342 0.1447)
OKLCHoklch(76.35% 0.197 132.8)
XYZxyz(30.4528, 47.3433, 10.1179)
Luminance0.4734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECB2E #7B2ECB
analogous
#CBCA2E #7ECB2E #30CB2E
triadic
#7ECB2E #2E7ECB #CB2E7E
tetradic
#7ECB2E #2ECBCA #7B2ECB #CB2E30
square
#7ECB2E #2ECBCA #7B2ECB #CB2E30
split-complementary
#7ECB2E #2E30CB #CA2ECB
monochromatic
#406717 #5F9923 #7ECB2E #9CDA5C #BBE58E

Accessibility & contrast

On white

2.01
#7ECB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#7ECB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECB2E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECB2E#FFFFFF#000000##000000
##7ECB2E1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#7FC3AE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #7ecb2e;
/* rgb */ color: rgb(126, 203, 46);
/* oklch */ color: oklch(76.3% 0.197 132.8);
Tailwind
colors: {
  custom: {
    50: '#a9db73',
    500: '#7ecb2e',
    950: '#000000',
  },
}
SCSS
$custom: #7ecb2e;
$custom-light: #a9db73;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecb2e",
  "rgb": {
    "r": 126,
    "g": 203,
    "b": 46
  },
  "hsl": {
    "h": 89.427,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76346,
    "c": 0.19735,
    "h": 132.8
  },
  "luminance": 0.47345
}

Semantic roles & 50–950 ramp

primary
#7ECB2E
secondary
#AA85D0
accent
#42E692
background
#FAFDF7
surface
#F5FBED
border
#CFD4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7ECB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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