#7ECA31#7ECA31

#7ECA31 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.1% C 0.195 H 132.9°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7ECA31
RGBrgb(126, 202, 49)
HSLhsl(90, 61%, 49%)
HSVhsv(90, 76%, 79%)
CMYKcmyk(37.6%, 0%, 75.7%, 20.8%)
CIE-LABlab(74.12, -46.98, 64.08)
CIE-LCHlch(74.12, 79.45, 126.25°)
OKLaboklab(76.12% -0.1324 0.1426)
OKLCHoklch(76.12% 0.195 132.9)
XYZxyz(30.2787, 46.8971, 10.3618)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECA31 #7D31CA
analogous
#CACA31 #7ECA31 #32CA31
triadic
#7ECA31 #317ECA #CA317E
tetradic
#7ECA31 #31CACA #7D31CA #CA3132
square
#7ECA31 #31CACA #7D31CA #CA3132
split-complementary
#7ECA31 #3132CA #CA31CA
monochromatic
#416719 #5F9925 #7ECA31 #9CD860 #BBE491

Accessibility & contrast

On white

2.02
#7ECA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#7ECA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECA31
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECA31#FFFFFF#000000##000000
##7ECA311.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0A
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#7FC2AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7eca31;
/* rgb */ color: rgb(126, 202, 49);
/* oklch */ color: oklch(76.1% 0.195 132.9);
Tailwind
colors: {
  custom: {
    50: '#a9da74',
    500: '#7eca31',
    950: '#000000',
  },
}
SCSS
$custom: #7eca31;
$custom-light: #a9da74;
$custom-dark: #000000;
JSON
{
  "hex": "#7eca31",
  "rgb": {
    "r": 126,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 89.804,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76118,
    "c": 0.19462,
    "h": 132.9
  },
  "luminance": 0.46898
}

Semantic roles & 50–950 ramp

primary
#7ECA31
secondary
#AB88CF
accent
#44E493
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7ECA31

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

Preview Lab → · Contrast checker → · Palette generator →

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