#7ECF31#7ECF31

#7ECF31 is a light, highly saturated yellow-green. Relative luminance 0.493; OKLCH L 77.3% C 0.201 H 133.5°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#7ECF31
RGBrgb(126, 207, 49)
HSLhsl(91, 62%, 50%)
HSVhsv(91, 76%, 81%)
CMYKcmyk(39.1%, 0%, 76.3%, 18.8%)
CIE-LABlab(75.63, -49.03, 65.51)
CIE-LCHlch(75.63, 81.83, 126.81°)
OKLaboklab(77.35% -0.138 0.1456)
OKLCHoklch(77.35% 0.201 133.5)
XYZxyz(31.4709, 49.2815, 10.7592)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECF31 #8231CF
analogous
#CDCF31 #7ECF31 #31CF33
triadic
#7ECF31 #317ECF #CF317E
tetradic
#7ECF31 #31CDCF #8231CF #CF3331
square
#7ECF31 #31CDCF #8231CF #CF3331
split-complementary
#7ECF31 #3331CF #CF31CD
monochromatic
#426C19 #609E25 #7ECF31 #9DDB63 #BCE694

Accessibility & contrast

On white

1.93
#7ECF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#7ECF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECF31
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECF31#FFFFFF#000000##000000
##7ECF311.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE05
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#7EC7B1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #7ecf31;
/* rgb */ color: rgb(126, 207, 49);
/* oklch */ color: oklch(77.3% 0.201 133.5);
Tailwind
colors: {
  custom: {
    50: '#aade75',
    500: '#7ecf31',
    950: '#000000',
  },
}
SCSS
$custom: #7ecf31;
$custom-light: #aade75;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecf31",
  "rgb": {
    "r": 126,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 90.759,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77347,
    "c": 0.20062,
    "h": 133.5
  },
  "luminance": 0.49283
}

Semantic roles & 50–950 ramp

primary
#7ECF31
secondary
#AF8BD1
accent
#43E596
background
#FAFDF7
surface
#F5FBED
border
#CFD4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7ECF31

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

Preview Lab → · Contrast checker → · Palette generator →

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