#228B48#228B48

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

Color values

HEX#228B48
RGBrgb(34, 139, 72)
HSLhsl(142, 61%, 34%)
HSVhsv(142, 76%, 55%)
CMYKcmyk(75.5%, 0%, 48.2%, 45.5%)
CIE-LABlab(51.00, -44.70, 27.55)
CIE-LCHlch(51.00, 52.51, 148.35°)
OKLaboklab(56.25% -0.1202 0.0674)
OKLCHoklch(56.25% 0.138 150.7)
XYZxyz(11.0611, 19.2719, 9.2665)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B48 #8B2265
analogous
#318B22 #228B48 #228B7D
triadic
#228B48 #48228B #8B4822
tetradic
#228B48 #22318B #8B2265 #8B7D22
square
#228B48 #22318B #8B2265 #8B7D22
split-complementary
#228B48 #7D228B #8B2231
monochromatic
#0A2915 #165A2F #228B48 #2EBC61 #53D582

Accessibility & contrast

On white

4.33
#228B48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#228B48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B48
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B48#FFFFFF#000000##000000
##228B481.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F43
Deuteranopia (green-blind)
#7F764D
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b48;
/* rgb */ color: rgb(34, 139, 72);
/* oklch */ color: oklch(56.3% 0.138 150.7);
Tailwind
colors: {
  custom: {
    50: '#6eae7c',
    500: '#228b48',
    950: '#000000',
  },
}
SCSS
$custom: #228b48;
$custom-light: #6eae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#228b48",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 72
  },
  "hsl": {
    "h": 141.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.13782,
    "h": 150.7
  },
  "luminance": 0.19273
}

Semantic roles & 50–950 ramp

primary
#228B48
secondary
#B85093
accent
#44AAE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228B48

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

Preview Lab → · Contrast checker → · Palette generator →

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