#30B228#30B228

#30B228 is a light, highly saturated green. Relative luminance 0.326; OKLCH L 66.9% C 0.205 H 142.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#30B228
RGBrgb(48, 178, 40)
HSLhsl(117, 63%, 43%)
HSVhsv(117, 78%, 70%)
CMYKcmyk(73%, 0%, 77.5%, 30.2%)
CIE-LABlab(63.85, -59.63, 56.13)
CIE-LCHlch(63.85, 81.89, 136.73°)
OKLaboklab(66.88% -0.1622 0.1257)
OKLCHoklch(66.88% 0.205 142.2)
XYZxyz(17.5213, 32.6204, 7.3800)
Luminance0.3262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30B228 #AA28B2
analogous
#75B228 #30B228 #28B265
triadic
#30B228 #2830B2 #B22830
tetradic
#30B228 #2875B2 #AA28B2 #B26528
square
#30B228 #2875B2 #AA28B2 #B26528
split-complementary
#30B228 #6528B2 #B22875
monochromatic
#154E12 #23801D #30B228 #4BD543 #7BE075

Accessibility & contrast

On white

2.79
#30B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#30B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #30B228
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30B228#FFFFFF#000000##000000
##30B2281.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #30b228;
/* rgb */ color: rgb(48, 178, 40);
/* oklch */ color: oklch(66.9% 0.205 142.2);
Tailwind
colors: {
  custom: {
    50: '#7dca6c',
    500: '#30b228',
    950: '#000000',
  },
}
SCSS
$custom: #30b228;
$custom-light: #7dca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#30b228",
  "rgb": {
    "r": 48,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 116.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66885,
    "c": 0.20527,
    "h": 142.2
  },
  "luminance": 0.32622
}

Semantic roles & 50–950 ramp

primary
#30B228
secondary
#C26FC7
accent
#41E6DD
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #30B228

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

Preview Lab → · Contrast checker → · Palette generator →

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