#30B042#30B042

#30B042 is a light, vivid green. Relative luminance 0.321; OKLCH L 66.6% C 0.186 H 145.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#30B042
RGBrgb(48, 176, 66)
HSLhsl(128, 57%, 44%)
HSVhsv(128, 73%, 69%)
CMYKcmyk(72.7%, 0%, 62.5%, 31%)
CIE-LABlab(63.40, -56.58, 45.45)
CIE-LCHlch(63.40, 72.57, 141.22°)
OKLaboklab(66.57% -0.1528 0.1064)
OKLCHoklch(66.57% 0.186 145.2)
XYZxyz(17.7264, 32.0704, 10.4092)
Luminance0.3207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30B042 #B0309E
analogous
#5EB030 #30B042 #30B082
triadic
#30B042 #4230B0 #B04230
tetradic
#30B042 #305EB0 #B0309E #B08230
square
#30B042 #305EB0 #B0309E #B08230
split-complementary
#30B042 #8230B0 #B0305E
monochromatic
#16501E #238030 #30B042 #4ECF60 #7EDC8C

Accessibility & contrast

On white

2.83
#30B042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#30B042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #30B042
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30B042#FFFFFF#000000##000000
##30B0421.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A036
Deuteranopia (green-blind)
#A4964B
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #30b042;
/* rgb */ color: rgb(48, 176, 66);
/* oklch */ color: oklch(66.6% 0.186 145.2);
Tailwind
colors: {
  custom: {
    50: '#7bc97a',
    500: '#30b042',
    950: '#000000',
  },
}
SCSS
$custom: #30b042;
$custom-light: #7bc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#30b042",
  "rgb": {
    "r": 48,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 128.438,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66573,
    "c": 0.18617,
    "h": 145.2
  },
  "luminance": 0.32072
}

Semantic roles & 50–950 ramp

primary
#30B042
secondary
#C577BA
accent
#47CBE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #30B042

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

Preview Lab → · Contrast checker → · Palette generator →

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