#30AF40#30AF40

#30AF40 is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.186 H 144.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#30AF40
RGBrgb(48, 175, 64)
HSLhsl(128, 57%, 44%)
HSVhsv(128, 73%, 69%)
CMYKcmyk(72.6%, 0%, 63.4%, 31.4%)
CIE-LABlab(63.06, -56.46, 45.95)
CIE-LCHlch(63.06, 72.80, 140.86°)
OKLaboklab(66.28% -0.1526 0.1073)
OKLCHoklch(66.28% 0.186 144.9)
XYZxyz(17.4731, 31.6565, 10.0390)
Luminance0.3166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30AF40 #AF309F
analogous
#5FAF30 #30AF40 #30AF7F
triadic
#30AF40 #4030AF #AF4030
tetradic
#30AF40 #305FAF #AF309F #AF7F30
square
#30AF40 #305FAF #AF309F #AF7F30
split-complementary
#30AF40 #7F30AF #AF305F
monochromatic
#164F1D #237F2E #30AF40 #4ECE5E #7EDC8A

Accessibility & contrast

On white

2.86
#30AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#30AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #30AF40
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30AF40#FFFFFF#000000##000000
##30AF401.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#A3954A
Tritanopia (blue-blind)
#00AA98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #30af40;
/* rgb */ color: rgb(48, 175, 64);
/* oklch */ color: oklch(66.3% 0.186 144.9);
Tailwind
colors: {
  custom: {
    50: '#7bc879',
    500: '#30af40',
    950: '#000000',
  },
}
SCSS
$custom: #30af40;
$custom-light: #7bc879;
$custom-dark: #000000;
JSON
{
  "hex": "#30af40",
  "rgb": {
    "r": 48,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 127.559,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66283,
    "c": 0.18649,
    "h": 144.9
  },
  "luminance": 0.31658
}

Semantic roles & 50–950 ramp

primary
#30AF40
secondary
#C476BB
accent
#48CDE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #30AF40

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

Preview Lab → · Contrast checker → · Palette generator →

#30AF40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva