#228D50#228D50

#228D50 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.133 H 153.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228D50
RGBrgb(34, 141, 80)
HSLhsl(146, 61%, 34%)
HSVhsv(146, 76%, 55%)
CMYKcmyk(75.9%, 0%, 43.3%, 44.7%)
CIE-LABlab(51.80, -44.01, 24.23)
CIE-LCHlch(51.80, 50.24, 151.16°)
OKLaboklab(56.95% -0.1185 0.06)
OKLCHoklch(56.95% 0.133 153.1)
XYZxyz(11.6315, 19.9677, 10.8290)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D50 #8D225F
analogous
#2A8D22 #228D50 #228D86
triadic
#228D50 #50228D #8D5022
tetradic
#228D50 #222A8D #8D225F #8D8622
square
#228D50 #222A8D #8D225F #8D8622
split-complementary
#228D50 #86228D #8D222A
monochromatic
#0A2A18 #165C34 #228D50 #2EBE6C #54D68C

Accessibility & contrast

On white

4.21
#228D50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#228D50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D50
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D50#FFFFFF#000000##000000
##228D501.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814C
Deuteranopia (green-blind)
#807854
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d50;
/* rgb */ color: rgb(34, 141, 80);
/* oklch */ color: oklch(57.0% 0.133 153.1);
Tailwind
colors: {
  custom: {
    50: '#6eaf82',
    500: '#228d50',
    950: '#000000',
  },
}
SCSS
$custom: #228d50;
$custom-light: #6eaf82;
$custom-dark: #000000;
JSON
{
  "hex": "#228d50",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 80
  },
  "hsl": {
    "h": 145.794,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.13283,
    "h": 153.1
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#228D50
secondary
#B9518D
accent
#449FE4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D50

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

Preview Lab → · Contrast checker → · Palette generator →

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