#228B52#228B52

#228B52 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.128 H 154.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228B52
RGBrgb(34, 139, 82)
HSLhsl(147, 61%, 34%)
HSVhsv(147, 76%, 55%)
CMYKcmyk(75.5%, 0%, 41%, 45.5%)
CIE-LABlab(51.17, -42.83, 22.30)
CIE-LCHlch(51.17, 48.29, 152.49°)
OKLaboklab(56.44% -0.1155 0.0555)
OKLCHoklch(56.44% 0.128 154.3)
XYZxyz(11.4142, 19.4132, 11.1266)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B52 #8B225B
analogous
#268B22 #228B52 #228B87
triadic
#228B52 #52228B #8B5222
tetradic
#228B52 #22268B #8B225B #8B8722
square
#228B52 #22268B #8B225B #8B8722
split-complementary
#228B52 #87228B #8B2226
monochromatic
#0A2918 #165A35 #228B52 #2EBC6F #53D58E

Accessibility & contrast

On white

4.30
#228B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#228B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B52
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B52#FFFFFF#000000##000000
##228B521.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4E
Deuteranopia (green-blind)
#7E7656
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b52;
/* rgb */ color: rgb(34, 139, 82);
/* oklch */ color: oklch(56.4% 0.128 154.3);
Tailwind
colors: {
  custom: {
    50: '#6eae83',
    500: '#228b52',
    950: '#000000',
  },
}
SCSS
$custom: #228b52;
$custom-light: #6eae83;
$custom-dark: #000000;
JSON
{
  "hex": "#228b52",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 82
  },
  "hsl": {
    "h": 147.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.12814,
    "h": 154.3
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#228B52
secondary
#B85089
accent
#449BE4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228B52

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

Preview Lab → · Contrast checker → · Palette generator →

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