#228B4A#228B4A

#228B4A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.136 H 151.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228B4A
RGBrgb(34, 139, 74)
HSLhsl(143, 61%, 34%)
HSVhsv(143, 76%, 55%)
CMYKcmyk(75.5%, 0%, 46.8%, 45.5%)
CIE-LABlab(51.03, -44.34, 26.51)
CIE-LCHlch(51.03, 51.66, 149.13°)
OKLaboklab(56.29% -0.1193 0.0651)
OKLCHoklch(56.29% 0.136 151.4)
XYZxyz(11.1274, 19.2984, 9.6158)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B4A #8B2263
analogous
#2F8B22 #228B4A #228B7F
triadic
#228B4A #4A228B #8B4A22
tetradic
#228B4A #222F8B #8B2263 #8B7F22
square
#228B4A #222F8B #8B2263 #8B7F22
split-complementary
#228B4A #7F228B #8B222F
monochromatic
#0A2916 #165A30 #228B4A #2EBC64 #53D584

Accessibility & contrast

On white

4.32
#228B4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#228B4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B4A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B4A#FFFFFF#000000##000000
##228B4A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F45
Deuteranopia (green-blind)
#7F764F
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b4a;
/* rgb */ color: rgb(34, 139, 74);
/* oklch */ color: oklch(56.3% 0.136 151.4);
Tailwind
colors: {
  custom: {
    50: '#6eae7d',
    500: '#228b4a',
    950: '#000000',
  },
}
SCSS
$custom: #228b4a;
$custom-light: #6eae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#228b4a",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 74
  },
  "hsl": {
    "h": 142.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.13589,
    "h": 151.4
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#228B4A
secondary
#B85091
accent
#44A7E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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