#228B3A#228B3A

#228B3A is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.151 H 146.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#228B3A
RGBrgb(34, 139, 58)
HSLhsl(134, 61%, 34%)
HSVhsv(134, 76%, 55%)
CMYKcmyk(75.5%, 0%, 58.3%, 45.5%)
CIE-LABlab(50.82, -46.91, 34.59)
CIE-LCHlch(50.82, 58.28, 143.60°)
OKLaboklab(56.04% -0.1263 0.0823)
OKLCHoklch(56.04% 0.151 146.9)
XYZxyz(10.6552, 19.1096, 7.1291)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B3A #8B2273
analogous
#3F8B22 #228B3A #228B6F
triadic
#228B3A #3A228B #8B3A22
tetradic
#228B3A #223F8B #8B2273 #8B6F22
square
#228B3A #223F8B #8B2273 #8B6F22
split-complementary
#228B3A #6F228B #8B223F
monochromatic
#0A2911 #165A25 #228B3A #2EBC4F #53D570

Accessibility & contrast

On white

4.35
#228B3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#228B3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B3A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B3A#FFFFFF#000000##000000
##228B3A1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E32
Deuteranopia (green-blind)
#817640
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b3a;
/* rgb */ color: rgb(34, 139, 58);
/* oklch */ color: oklch(56.0% 0.151 146.9);
Tailwind
colors: {
  custom: {
    50: '#6eae72',
    500: '#228b3a',
    950: '#000000',
  },
}
SCSS
$custom: #228b3a;
$custom-light: #6eae72;
$custom-dark: #000000;
JSON
{
  "hex": "#228b3a",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 58
  },
  "hsl": {
    "h": 133.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.15075,
    "h": 146.9
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#228B3A
secondary
#B850A1
accent
#44BFE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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