#30A228#30A228

#30A228 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.187 H 142.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#30A228
RGBrgb(48, 162, 40)
HSLhsl(116, 60%, 40%)
HSVhsv(116, 75%, 64%)
CMYKcmyk(70.4%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.62, -54.35, 50.98)
CIE-LCHlch(58.62, 74.51, 136.83°)
OKLaboklab(62.54% -0.148 0.115)
OKLCHoklch(62.54% 0.187 142.1)
XYZxyz(14.5214, 26.6207, 6.3801)
Luminance0.2662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30A228 #9A28A2
analogous
#6DA228 #30A228 #28A25D
triadic
#30A228 #2830A2 #A22830
tetradic
#30A228 #286DA2 #9A28A2 #A25D28
square
#30A228 #286DA2 #9A28A2 #A25D28
split-complementary
#30A228 #5D28A2 #A2286D
monochromatic
#134010 #21711C #30A228 #43CE39 #72DA6A

Accessibility & contrast

On white

3.32
#30A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#30A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30A228
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30A228#FFFFFF#000000##000000
##30A2281.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920F
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#119D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #30a228;
/* rgb */ color: rgb(48, 162, 40);
/* oklch */ color: oklch(62.5% 0.187 142.1);
Tailwind
colors: {
  custom: {
    50: '#7abf6a',
    500: '#30a228',
    950: '#000000',
  },
}
SCSS
$custom: #30a228;
$custom-light: #7abf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#30a228",
  "rgb": {
    "r": 48,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 116.066,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62543,
    "c": 0.18739,
    "h": 142.1
  },
  "luminance": 0.26622
}

Semantic roles & 50–950 ramp

primary
#30A228
secondary
#BB65C1
accent
#44E4D9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #30A228

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

Preview Lab → · Contrast checker → · Palette generator →

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