#7DB42B#7DB42B

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

Color values

HEX#7DB42B
RGBrgb(125, 180, 43)
HSLhsl(84, 61%, 44%)
HSVhsv(84, 76%, 71%)
CMYKcmyk(30.6%, 0%, 76.1%, 29.4%)
CIE-LABlab(67.41, -38.25, 59.58)
CIE-LCHlch(67.41, 70.80, 122.70°)
OKLaboklab(70.62% -0.1091 0.1323)
OKLCHoklch(70.62% 0.172 129.5)
XYZxyz(25.2147, 37.1762, 8.1323)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB42B #622BB4
analogous
#B4A62B #7DB42B #38B42B
triadic
#7DB42B #2B7DB4 #B42B7D
tetradic
#7DB42B #2BB4A6 #622BB4 #B42B38
square
#7DB42B #2BB4A6 #622BB4 #B42B38
split-complementary
#7DB42B #2B38B4 #A62BB4
monochromatic
#385113 #5B831F #7DB42B #9CD349 #B7DF7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7DB42B#FFFFFF#000000##000000
##7DB42B1.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)
#BDA709
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#81AC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7db42b;
/* rgb */ color: rgb(125, 180, 43);
/* oklch */ color: oklch(70.6% 0.172 129.5);
Tailwind
colors: {
  custom: {
    50: '#a7ca6f',
    500: '#7db42b',
    950: '#000000',
  },
}
SCSS
$custom: #7db42b;
$custom-light: #a7ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7db42b",
  "rgb": {
    "r": 125,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 84.088,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70615,
    "c": 0.17152,
    "h": 129.5
  },
  "luminance": 0.37177
}

Semantic roles & 50–950 ramp

primary
#7DB42B
secondary
#9573C7
accent
#43E584
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7DB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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