#7ECB48#7ECB48

#7ECB48 is a light, vivid yellow-green. Relative luminance 0.476; OKLCH L 76.5% C 0.181 H 134.7°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#7ECB48
RGBrgb(126, 203, 72)
HSLhsl(95, 56%, 54%)
HSVhsv(95, 65%, 80%)
CMYKcmyk(37.9%, 0%, 64.5%, 20.4%)
CIE-LABlab(74.58, -45.78, 56.00)
CIE-LCHlch(74.58, 72.34, 129.27°)
OKLaboklab(76.54% -0.1275 0.1288)
OKLCHoklch(76.54% 0.181 134.7)
XYZxyz(31.1292, 47.6139, 13.6798)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECB48 #9548CB
analogous
#C0CB48 #7ECB48 #48CB54
triadic
#7ECB48 #487ECB #CB487E
tetradic
#7ECB48 #48C0CB #9548CB #CB5448
square
#7ECB48 #48C0CB #9548CB #CB5448
split-complementary
#7ECB48 #5448CB #CB48C0
monochromatic
#457722 #60A62F #7ECB48 #A0D978 #C1E6A7

Accessibility & contrast

On white

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

On black

10.52
#7ECB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECB48
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECB48#FFFFFF#000000##000000
##7ECB481.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB37
Deuteranopia (green-blind)
#C8B553
Tritanopia (blue-blind)
#7DC4B0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #7ecb48;
/* rgb */ color: rgb(126, 203, 72);
/* oklch */ color: oklch(76.5% 0.181 134.7);
Tailwind
colors: {
  custom: {
    50: '#a8db81',
    500: '#7ecb48',
    950: '#000000',
  },
}
SCSS
$custom: #7ecb48;
$custom-light: #a8db81;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecb48",
  "rgb": {
    "r": 126,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 95.267,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.18126,
    "h": 134.7
  },
  "luminance": 0.47615
}

Semantic roles & 50–950 ramp

primary
#7ECB48
secondary
#BC9BD3
accent
#49DFA1
background
#FAFDF8
surface
#F4FBEF
border
#CED4CA
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECB48

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

Preview Lab → · Contrast checker → · Palette generator →

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