#7CDF42#7CDF42

#7CDF42 is a light, highly saturated yellow-green. Relative luminance 0.575; OKLCH L 81.3% C 0.211 H 136.3°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#7CDF42
RGBrgb(124, 223, 66)
HSLhsl(98, 71%, 57%)
HSVhsv(98, 70%, 87%)
CMYKcmyk(44.4%, 0%, 70.4%, 12.5%)
CIE-LABlab(80.43, -54.96, 64.45)
CIE-LCHlch(80.43, 84.71, 130.46°)
OKLaboklab(81.29% -0.1527 0.1458)
OKLCHoklch(81.29% 0.211 136.3)
XYZxyz(35.6823, 57.4516, 14.3623)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CDF42 #A542DF
analogous
#CBDF42 #7CDF42 #42DF57
triadic
#7CDF42 #427CDF #DF427C
tetradic
#7CDF42 #42CBDF #A542DF #DF5742
square
#7CDF42 #42CBDF #A542DF #DF5742
split-complementary
#7CDF42 #5742DF #DF42CB
monochromatic
#448E18 #5DC321 #7CDF42 #A0E876 #C5F1AB

Accessibility & contrast

On white

1.68
#7CDF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#7CDF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CDF42
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CDF42#FFFFFF#000000##000000
##7CDF421.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD28
Deuteranopia (green-blind)
#D9C551
Tritanopia (blue-blind)
#78D7C0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #7cdf42;
/* rgb */ color: rgb(124, 223, 66);
/* oklch */ color: oklch(81.3% 0.211 136.3);
Tailwind
colors: {
  custom: {
    50: '#a9ea7f',
    500: '#7cdf42',
    950: '#000000',
  },
}
SCSS
$custom: #7cdf42;
$custom-light: #a9ea7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cdf42",
  "rgb": {
    "r": 124,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 97.834,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81294,
    "c": 0.21118,
    "h": 136.3
  },
  "luminance": 0.57454
}

Semantic roles & 50–950 ramp

primary
#7CDF42
secondary
#6F3294
accent
#3AEEAB
background
#FDFEFB
surface
#F7FDF2
border
#D0D5CC
text
#11160B
muted
#81847E

Preview Lab

Preview with #7CDF42

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

Preview Lab → · Contrast checker → · Palette generator →

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