#7DC040#7DC040

#7DC040 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 73.7% C 0.173 H 132.9°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7DC040
RGBrgb(125, 192, 64)
HSLhsl(91, 50%, 50%)
HSVhsv(91, 67%, 75%)
CMYKcmyk(34.9%, 0%, 66.7%, 24.7%)
CIE-LABlab(71.17, -42.10, 55.61)
CIE-LCHlch(71.17, 69.75, 127.13°)
OKLaboklab(73.72% -0.118 0.127)
OKLCHoklch(73.72% 0.173 132.9)
XYZxyz(28.2321, 42.4283, 11.5514)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DC040 #8340C0
analogous
#BDC040 #7DC040 #40C043
triadic
#7DC040 #407DC0 #C0407D
tetradic
#7DC040 #40BDC0 #8340C0 #C04340
square
#7DC040 #40BDC0 #8340C0 #C04340
split-complementary
#7DC040 #4340C0 #C040BD
monochromatic
#416421 #5F9230 #7DC040 #9CCF6E #BCDE9C

Accessibility & contrast

On white

2.21
#7DC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#7DC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DC040
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DC040#FFFFFF#000000##000000
##7DC0401.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22E
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#7EB8A6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7dc040;
/* rgb */ color: rgb(125, 192, 64);
/* oklch */ color: oklch(73.7% 0.173 132.9);
Tailwind
colors: {
  custom: {
    50: '#a7d37b',
    500: '#7dc040',
    950: '#000000',
  },
}
SCSS
$custom: #7dc040;
$custom-light: #a7d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#7dc040",
  "rgb": {
    "r": 125,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 91.406,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7372,
    "c": 0.17337,
    "h": 132.9
  },
  "luminance": 0.42429
}

Semantic roles & 50–950 ramp

primary
#7DC040
secondary
#AF91CB
accent
#4EDA97
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7DC040

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

Preview Lab → · Contrast checker → · Palette generator →

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