#7ECB52#7ECB52

#7ECB52 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 76.6% C 0.173 H 135.8°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#7ECB52
RGBrgb(126, 203, 82)
HSLhsl(98, 54%, 56%)
HSVhsv(98, 60%, 80%)
CMYKcmyk(37.9%, 0%, 59.6%, 20.4%)
CIE-LABlab(74.67, -44.87, 51.81)
CIE-LCHlch(74.67, 68.54, 130.89°)
OKLaboklab(76.64% -0.1243 0.121)
OKLCHoklch(76.64% 0.173 135.8)
XYZxyz(31.4823, 47.7551, 15.5398)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECB52 #9F52CB
analogous
#BACB52 #7ECB52 #52CB62
triadic
#7ECB52 #527ECB #CB527E
tetradic
#7ECB52 #52BACB #9F52CB #CB6252
square
#7ECB52 #52BACB #9F52CB #CB6252
split-complementary
#7ECB52 #6252CB #CB52BA
monochromatic
#457D26 #5FAC34 #7ECB52 #A1D981 #C4E7B0

Accessibility & contrast

On white

1.99
#7ECB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#7ECB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECB52
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECB52#FFFFFF#000000##000000
##7ECB521.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#C7B55B
Tritanopia (blue-blind)
#7CC4B1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ecb52;
/* rgb */ color: rgb(126, 203, 82);
/* oklch */ color: oklch(76.6% 0.173 135.8);
Tailwind
colors: {
  custom: {
    50: '#a8db87',
    500: '#7ecb52',
    950: '#000000',
  },
}
SCSS
$custom: #7ecb52;
$custom-light: #a8db87;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecb52",
  "rgb": {
    "r": 126,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 98.182,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76643,
    "c": 0.17345,
    "h": 135.8
  },
  "luminance": 0.47757
}

Semantic roles & 50–950 ramp

primary
#7ECB52
secondary
#C3A3D5
accent
#4BDDA8
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECB52

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

Preview Lab → · Contrast checker → · Palette generator →

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