#228E41#228E41

#228E41 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.148 H 148.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#228E41
RGBrgb(34, 142, 65)
HSLhsl(137, 61%, 35%)
HSVhsv(137, 76%, 56%)
CMYKcmyk(76.1%, 0%, 54.2%, 44.3%)
CIE-LABlab(51.91, -46.97, 32.36)
CIE-LCHlch(51.91, 57.04, 145.43°)
OKLaboklab(56.97% -0.1263 0.0779)
OKLCHoklch(56.97% 0.148 148.4)
XYZxyz(11.2859, 20.0664, 8.2784)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E41 #8E226F
analogous
#398E22 #228E41 #228E77
triadic
#228E41 #41228E #8E4122
tetradic
#228E41 #22398E #8E226F #8E7722
square
#228E41 #22398E #8E226F #8E7722
split-complementary
#228E41 #77228E #8E2239
monochromatic
#0A2B14 #165D2A #228E41 #2EBF58 #54D67A

Accessibility & contrast

On white

4.19
#228E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#228E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E41
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E41#FFFFFF#000000##000000
##228E411.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813A
Deuteranopia (green-blind)
#837847
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e41;
/* rgb */ color: rgb(34, 142, 65);
/* oklch */ color: oklch(57.0% 0.148 148.4);
Tailwind
colors: {
  custom: {
    50: '#6fb077',
    500: '#228e41',
    950: '#000000',
  },
}
SCSS
$custom: #228e41;
$custom-light: #6fb077;
$custom-dark: #000000;
JSON
{
  "hex": "#228e41",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 65
  },
  "hsl": {
    "h": 137.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.1484,
    "h": 148.4
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#228E41
secondary
#BA529C
accent
#43B6E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081109
muted
#7B807B

Preview Lab

Preview with #228E41

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

Preview Lab → · Contrast checker → · Palette generator →

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