#7DC942#7DC942

#7DC942 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 75.9% C 0.183 H 134.2°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7DC942
RGBrgb(125, 201, 66)
HSLhsl(94, 56%, 52%)
HSVhsv(94, 67%, 79%)
CMYKcmyk(37.8%, 0%, 67.2%, 21.2%)
CIE-LABlab(73.89, -45.77, 57.68)
CIE-LCHlch(73.89, 73.63, 128.43°)
OKLaboklab(75.94% -0.1279 0.1316)
OKLCHoklch(75.94% 0.184 134.2)
XYZxyz(30.3269, 46.5252, 12.5355)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DC942 #8E42C9
analogous
#C1C942 #7DC942 #42C94B
triadic
#7DC942 #427DC9 #C9427D
tetradic
#7DC942 #42C1C9 #8E42C9 #C94B42
square
#7DC942 #42C1C9 #8E42C9 #C94B42
split-complementary
#7DC942 #4B42C9 #C942C1
monochromatic
#437020 #60A02E #7DC942 #9ED772 #BEE4A1

Accessibility & contrast

On white

2.04
#7DC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#7DC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DC942
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DC942#FFFFFF#000000##000000
##7DC9421.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#C6B34E
Tritanopia (blue-blind)
#7CC1AE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7dc942;
/* rgb */ color: rgb(125, 201, 66);
/* oklch */ color: oklch(75.9% 0.183 134.2);
Tailwind
colors: {
  custom: {
    50: '#a8da7d',
    500: '#7dc942',
    950: '#000000',
  },
}
SCSS
$custom: #7dc942;
$custom-light: #a8da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7dc942",
  "rgb": {
    "r": 125,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 93.778,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75945,
    "c": 0.1835,
    "h": 134.2
  },
  "luminance": 0.46527
}

Semantic roles & 50–950 ramp

primary
#7DC942
secondary
#B796D1
accent
#49DF9D
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7DC942

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

Preview Lab → · Contrast checker → · Palette generator →

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