#7DB42F#7DB42F

#7DB42F is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.6% C 0.169 H 129.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7DB42F
RGBrgb(125, 180, 47)
HSLhsl(85, 59%, 45%)
HSVhsv(85, 74%, 71%)
CMYKcmyk(30.6%, 0%, 73.9%, 29.4%)
CIE-LABlab(67.43, -38.02, 58.24)
CIE-LCHlch(67.43, 69.56, 123.14°)
OKLaboklab(70.64% -0.1082 0.1301)
OKLCHoklch(70.64% 0.169 129.8)
XYZxyz(25.2917, 37.2070, 8.5379)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB42F #662FB4
analogous
#B4A92F #7DB42F #3BB42F
triadic
#7DB42F #2F7DB4 #B42F7D
tetradic
#7DB42F #2FB4A9 #662FB4 #B42F3B
square
#7DB42F #2FB4A9 #662FB4 #B42F3B
split-complementary
#7DB42F #2F3BB4 #A92FB4
monochromatic
#3A5316 #5B8322 #7DB42F #9BD14F #B7DE80

Accessibility & contrast

On white

2.49
#7DB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#7DB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB42F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB42F#FFFFFF#000000##000000
##7DB42F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA714
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#80AC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7db42f;
/* rgb */ color: rgb(125, 180, 47);
/* oklch */ color: oklch(70.6% 0.169 129.8);
Tailwind
colors: {
  custom: {
    50: '#a7ca71',
    500: '#7db42f',
    950: '#000000',
  },
}
SCSS
$custom: #7db42f;
$custom-light: #a7ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#7db42f",
  "rgb": {
    "r": 125,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 84.812,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70641,
    "c": 0.16926,
    "h": 129.8
  },
  "luminance": 0.37208
}

Semantic roles & 50–950 ramp

primary
#7DB42F
secondary
#9978C7
accent
#46E286
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7DB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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