#228D48#228D48

#228D48 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.141 H 150.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228D48
RGBrgb(34, 141, 72)
HSLhsl(141, 61%, 34%)
HSVhsv(141, 76%, 55%)
CMYKcmyk(75.9%, 0%, 48.9%, 44.7%)
CIE-LABlab(51.67, -45.46, 28.40)
CIE-LCHlch(51.67, 53.60, 148.00°)
OKLaboklab(56.81% -0.1222 0.0693)
OKLCHoklch(56.81% 0.141 150.4)
XYZxyz(11.3533, 19.8564, 9.3640)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D48 #8D2267
analogous
#328D22 #228D48 #228D7E
triadic
#228D48 #48228D #8D4822
tetradic
#228D48 #22328D #8D2267 #8D7E22
square
#228D48 #22328D #8D2267 #8D7E22
split-complementary
#228D48 #7E228D #8D2232
monochromatic
#0A2A16 #165C2F #228D48 #2EBE61 #54D682

Accessibility & contrast

On white

4.22
#228D48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#228D48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D48
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D48#FFFFFF#000000##000000
##228D481.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8142
Deuteranopia (green-blind)
#81784D
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d48;
/* rgb */ color: rgb(34, 141, 72);
/* oklch */ color: oklch(56.8% 0.141 150.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf7c',
    500: '#228d48',
    950: '#000000',
  },
}
SCSS
$custom: #228d48;
$custom-light: #6eaf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#228d48",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 72
  },
  "hsl": {
    "h": 141.308,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.14053,
    "h": 150.4
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#228D48
secondary
#B95194
accent
#44ABE4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228D48

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

Preview Lab → · Contrast checker → · Palette generator →

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