#7DB240#7DB240

#7DB240 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.155 H 130.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7DB240
RGBrgb(125, 178, 64)
HSLhsl(88, 47%, 47%)
HSVhsv(88, 64%, 70%)
CMYKcmyk(29.8%, 0%, 64%, 30.2%)
CIE-LABlab(66.95, -35.91, 51.09)
CIE-LCHlch(66.95, 62.45, 125.10°)
OKLaboklab(70.29% -0.1011 0.1175)
OKLCHoklch(70.29% 0.155 130.7)
XYZxyz(25.3030, 36.5702, 10.5751)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB240 #7540B2
analogous
#B2AE40 #7DB240 #44B240
triadic
#7DB240 #407DB2 #B2407D
tetradic
#7DB240 #40B2AE #7540B2 #B24044
square
#7DB240 #40B2AE #7540B2 #B24044
split-complementary
#7DB240 #4044B2 #AE40B2
monochromatic
#3E5820 #5D8530 #7DB240 #9BC867 #B9D894

Accessibility & contrast

On white

2.53
#7DB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7DB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB240
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB240#FFFFFF#000000##000000
##7DB2401.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA532
Deuteranopia (green-blind)
#B2A249
Tritanopia (blue-blind)
#80AB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7db240;
/* rgb */ color: rgb(125, 178, 64);
/* oklch */ color: oklch(70.3% 0.155 130.7);
Tailwind
colors: {
  custom: {
    50: '#a6c97a',
    500: '#7db240',
    950: '#000000',
  },
}
SCSS
$custom: #7db240;
$custom-light: #a6c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#7db240",
  "rgb": {
    "r": 125,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 87.895,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.15497,
    "h": 130.7
  },
  "luminance": 0.36571
}

Semantic roles & 50–950 ramp

primary
#7DB240
secondary
#A58AC4
accent
#51D78F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7DB240

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

Preview Lab → · Contrast checker → · Palette generator →

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