#228E48#228E48

#228E48 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.142 H 150.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#228E48
RGBrgb(34, 142, 72)
HSLhsl(141, 61%, 35%)
HSVhsv(141, 76%, 56%)
CMYKcmyk(76.1%, 0%, 49.3%, 44.3%)
CIE-LABlab(52.01, -45.83, 28.82)
CIE-LCHlch(52.01, 54.14, 147.84°)
OKLaboklab(57.08% -0.1232 0.0703)
OKLCHoklch(57.08% 0.142 150.3)
XYZxyz(11.5014, 20.1526, 9.4133)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E48 #8E2268
analogous
#328E22 #228E48 #228E7E
triadic
#228E48 #48228E #8E4822
tetradic
#228E48 #22328E #8E2268 #8E7E22
square
#228E48 #22328E #8E2268 #8E7E22
split-complementary
#228E48 #7E228E #8E2232
monochromatic
#0A2B16 #165D2F #228E48 #2EBF61 #54D682

Accessibility & contrast

On white

4.17
#228E48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#228E48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E48
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E48#FFFFFF#000000##000000
##228E481.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8142
Deuteranopia (green-blind)
#82784D
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e48;
/* rgb */ color: rgb(34, 142, 72);
/* oklch */ color: oklch(57.1% 0.142 150.3);
Tailwind
colors: {
  custom: {
    50: '#6eb07c',
    500: '#228e48',
    950: '#000000',
  },
}
SCSS
$custom: #228e48;
$custom-light: #6eb07c;
$custom-dark: #000000;
JSON
{
  "hex": "#228e48",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 72
  },
  "hsl": {
    "h": 141.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.14188,
    "h": 150.3
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#228E48
secondary
#BA5295
accent
#43ACE4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081109
muted
#7B807B

Preview Lab

Preview with #228E48

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

Preview Lab → · Contrast checker → · Palette generator →

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