#228B30#228B30

#228B30 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.159 H 144.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#228B30
RGBrgb(34, 139, 48)
HSLhsl(128, 61%, 34%)
HSVhsv(128, 76%, 55%)
CMYKcmyk(75.5%, 0%, 65.5%, 45.5%)
CIE-LABlab(50.71, -48.19, 39.26)
CIE-LCHlch(50.71, 62.16, 140.83°)
OKLaboklab(55.91% -0.1302 0.0914)
OKLCHoklch(55.91% 0.159 144.9)
XYZxyz(10.4251, 19.0175, 5.9171)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B30 #8B227D
analogous
#498B22 #228B30 #228B65
triadic
#228B30 #30228B #8B3022
tetradic
#228B30 #22498B #8B227D #8B6522
square
#228B30 #22498B #8B227D #8B6522
split-complementary
#228B30 #65228B #8B2249
monochromatic
#0A290E #165A1F #228B30 #2EBC41 #53D564

Accessibility & contrast

On white

4.37
#228B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#228B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B30
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B30#FFFFFF#000000##000000
##228B301.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E25
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b30;
/* rgb */ color: rgb(34, 139, 48);
/* oklch */ color: oklch(55.9% 0.159 144.9);
Tailwind
colors: {
  custom: {
    50: '#6fae6c',
    500: '#228b30',
    950: '#000000',
  },
}
SCSS
$custom: #228b30;
$custom-light: #6fae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#228b30",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 48
  },
  "hsl": {
    "h": 128,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.15906,
    "h": 144.9
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#228B30
secondary
#B850AB
accent
#44CFE4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228B30

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

Preview Lab → · Contrast checker → · Palette generator →

#228B30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva