#7DB040#7DB040

#7DB040 is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.8% C 0.152 H 130.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7DB040
RGBrgb(125, 176, 64)
HSLhsl(87, 47%, 47%)
HSVhsv(87, 64%, 69%)
CMYKcmyk(29%, 0%, 63.6%, 31%)
CIE-LABlab(66.35, -35.00, 50.44)
CIE-LCHlch(66.35, 61.39, 124.76°)
OKLaboklab(69.8% -0.0986 0.1161)
OKLCHoklch(69.8% 0.152 130.3)
XYZxyz(24.9080, 35.7801, 10.4434)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB040 #7340B0
analogous
#B0AB40 #7DB040 #45B040
triadic
#7DB040 #407DB0 #B0407D
tetradic
#7DB040 #40B0AB #7340B0 #B04045
square
#7DB040 #40B0AB #7340B0 #B04045
split-complementary
#7DB040 #4045B0 #AB40B0
monochromatic
#3D561F #5D8330 #7DB040 #9BC766 #B8D893

Accessibility & contrast

On white

2.57
#7DB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7DB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB040
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB040#FFFFFF#000000##000000
##7DB0401.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#B1A049
Tritanopia (blue-blind)
#80A999
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7db040;
/* rgb */ color: rgb(125, 176, 64);
/* oklch */ color: oklch(69.8% 0.152 130.3);
Tailwind
colors: {
  custom: {
    50: '#a6c87a',
    500: '#7db040',
    950: '#000000',
  },
}
SCSS
$custom: #7db040;
$custom-light: #a6c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#7db040",
  "rgb": {
    "r": 125,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 87.321,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69802,
    "c": 0.1523,
    "h": 130.3
  },
  "luminance": 0.35781
}

Semantic roles & 50–950 ramp

primary
#7DB040
secondary
#A389C3
accent
#51D68E
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7DB040

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

Preview Lab → · Contrast checker → · Palette generator →

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