#7ECB42#7ECB42

#7ECB42 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 76.5% C 0.186 H 134.2°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#7ECB42
RGBrgb(126, 203, 66)
HSLhsl(94, 57%, 53%)
HSVhsv(94, 67%, 80%)
CMYKcmyk(37.9%, 0%, 67.5%, 20.4%)
CIE-LABlab(74.53, -46.27, 58.38)
CIE-LCHlch(74.53, 74.49, 128.40°)
OKLaboklab(76.49% -0.1293 0.1331)
OKLCHoklch(76.49% 0.186 134.2)
XYZxyz(30.9429, 47.5394, 12.6988)
Luminance0.4754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECB42 #8F42CB
analogous
#C2CB42 #7ECB42 #42CB4B
triadic
#7ECB42 #427ECB #CB427E
tetradic
#7ECB42 #42C2CB #8F42CB #CB4B42
square
#7ECB42 #42C2CB #8F42CB #CB4B42
split-complementary
#7ECB42 #4B42CB #CB42C2
monochromatic
#447320 #61A32D #7ECB42 #9FD872 #C0E5A2

Accessibility & contrast

On white

2.00
#7ECB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#7ECB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECB42
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECB42#FFFFFF#000000##000000
##7ECB421.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2E
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#7DC3AF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #7ecb42;
/* rgb */ color: rgb(126, 203, 66);
/* oklch */ color: oklch(76.5% 0.186 134.2);
Tailwind
colors: {
  custom: {
    50: '#a9db7d',
    500: '#7ecb42',
    950: '#000000',
  },
}
SCSS
$custom: #7ecb42;
$custom-light: #a9db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecb42",
  "rgb": {
    "r": 126,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 93.723,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76488,
    "c": 0.18553,
    "h": 134.2
  },
  "luminance": 0.47541
}

Semantic roles & 50–950 ramp

primary
#7ECB42
secondary
#B897D2
accent
#48E09D
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7ECB42

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

Preview Lab → · Contrast checker → · Palette generator →

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