#7DB940#7DB940

#7DB940 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.0% C 0.164 H 131.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7DB940
RGBrgb(125, 185, 64)
HSLhsl(90, 49%, 49%)
HSVhsv(90, 65%, 73%)
CMYKcmyk(32.4%, 0%, 65.4%, 27.5%)
CIE-LABlab(69.06, -39.05, 53.36)
CIE-LCHlch(69.06, 66.12, 126.19°)
OKLaboklab(72% -0.1097 0.1223)
OKLCHoklch(72% 0.164 131.9)
XYZxyz(26.7315, 39.4271, 11.0513)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB940 #7C40B9
analogous
#B9B940 #7DB940 #41B940
triadic
#7DB940 #407DB9 #B9407D
tetradic
#7DB940 #40B9B9 #7C40B9 #B94041
square
#7DB940 #40B9B9 #7C40B9 #B94041
split-complementary
#7DB940 #4041B9 #B940B9
monochromatic
#405E21 #5E8C30 #7DB940 #9CCC6B #BADB98

Accessibility & contrast

On white

2.36
#7DB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#7DB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB940
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB940#FFFFFF#000000##000000
##7DB9401.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#7FB2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7db940;
/* rgb */ color: rgb(125, 185, 64);
/* oklch */ color: oklch(72.0% 0.164 131.9);
Tailwind
colors: {
  custom: {
    50: '#a7ce7b',
    500: '#7db940',
    950: '#000000',
  },
}
SCSS
$custom: #7db940;
$custom-light: #a7ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7db940",
  "rgb": {
    "r": 125,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 89.752,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72004,
    "c": 0.16426,
    "h": 131.9
  },
  "luminance": 0.39428
}

Semantic roles & 50–950 ramp

primary
#7DB940
secondary
#AA8EC7
accent
#50D893
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7DB940

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

Preview Lab → · Contrast checker → · Palette generator →

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