#30B542#30B542

#30B542 is a light, vivid green. Relative luminance 0.341; OKLCH L 67.9% C 0.192 H 145.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#30B542
RGBrgb(48, 181, 66)
HSLhsl(128, 58%, 45%)
HSVhsv(128, 73%, 71%)
CMYKcmyk(73.5%, 0%, 63.5%, 29%)
CIE-LABlab(65.02, -58.27, 47.27)
CIE-LCHlch(65.02, 75.03, 140.95°)
OKLaboklab(67.91% -0.1574 0.1103)
OKLCHoklch(67.91% 0.192 145)
XYZxyz(18.7249, 34.0673, 10.7420)
Luminance0.3407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30B542 #B530A3
analogous
#61B530 #30B542 #30B584
triadic
#30B542 #4230B5 #B54230
tetradic
#30B542 #3061B5 #B530A3 #B58430
square
#30B542 #3061B5 #B530A3 #B58430
split-complementary
#30B542 #8430B5 #B53061
monochromatic
#16541F #238530 #30B542 #51D163 #82DE8E

Accessibility & contrast

On white

2.69
#30B542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#30B542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #30B542
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30B542#FFFFFF#000000##000000
##30B5421.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A434
Deuteranopia (green-blind)
#A99A4C
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #30b542;
/* rgb */ color: rgb(48, 181, 66);
/* oklch */ color: oklch(67.9% 0.192 145.0);
Tailwind
colors: {
  custom: {
    50: '#7dcc7b',
    500: '#30b542',
    950: '#000000',
  },
}
SCSS
$custom: #30b542;
$custom-light: #7dcc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#30b542",
  "rgb": {
    "r": 48,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 128.12,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67912,
    "c": 0.19216,
    "h": 145
  },
  "luminance": 0.34069
}

Semantic roles & 50–950 ramp

primary
#30B542
secondary
#C77ABC
accent
#46CCE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #30B542

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

Preview Lab → · Contrast checker → · Palette generator →

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