#7DB540#7DB540

#7DB540 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.0% C 0.159 H 131.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7DB540
RGBrgb(125, 181, 64)
HSLhsl(89, 48%, 48%)
HSVhsv(89, 65%, 71%)
CMYKcmyk(30.9%, 0%, 64.6%, 29%)
CIE-LABlab(67.86, -37.26, 52.07)
CIE-LCHlch(67.86, 64.03, 125.59°)
OKLaboklab(71.03% -0.1048 0.1196)
OKLCHoklch(71.03% 0.159 131.2)
XYZxyz(25.9065, 37.7770, 10.7762)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB540 #7840B5
analogous
#B5B240 #7DB540 #42B540
triadic
#7DB540 #407DB5 #B5407D
tetradic
#7DB540 #40B5B2 #7840B5 #B54042
square
#7DB540 #40B5B2 #7840B5 #B54042
split-complementary
#7DB540 #4042B5 #B240B5
monochromatic
#3F5B20 #5E8830 #7DB540 #9BCA68 #B9DA96

Accessibility & contrast

On white

2.45
#7DB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#7DB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB540
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB540#FFFFFF#000000##000000
##7DB5401.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#B5A449
Tritanopia (blue-blind)
#7FAE9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7db540;
/* rgb */ color: rgb(125, 181, 64);
/* oklch */ color: oklch(71.0% 0.159 131.2);
Tailwind
colors: {
  custom: {
    50: '#a6cb7a',
    500: '#7db540',
    950: '#000000',
  },
}
SCSS
$custom: #7db540;
$custom-light: #a6cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7db540",
  "rgb": {
    "r": 125,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 88.718,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71025,
    "c": 0.15898,
    "h": 131.2
  },
  "luminance": 0.37778
}

Semantic roles & 50–950 ramp

primary
#7DB540
secondary
#A78BC5
accent
#50D791
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7DB540

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

Preview Lab → · Contrast checker → · Palette generator →

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