#228D47#228D47

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

Color values

HEX#228D47
RGBrgb(34, 141, 71)
HSLhsl(141, 61%, 34%)
HSVhsv(141, 76%, 55%)
CMYKcmyk(75.9%, 0%, 49.6%, 44.7%)
CIE-LABlab(51.66, -45.63, 28.91)
CIE-LCHlch(51.66, 54.02, 147.64°)
OKLaboklab(56.79% -0.1227 0.0705)
OKLCHoklch(56.79% 0.141 150.1)
XYZxyz(11.3210, 19.8435, 9.1935)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D47 #8D2268
analogous
#328D22 #228D47 #228D7D
triadic
#228D47 #47228D #8D4722
tetradic
#228D47 #22328D #8D2268 #8D7D22
square
#228D47 #22328D #8D2268 #8D7D22
split-complementary
#228D47 #7D228D #8D2232
monochromatic
#0A2A15 #165C2E #228D47 #2EBE60 #54D681

Accessibility & contrast

On white

4.23
#228D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D47#FFFFFF#000000##000000
##228D471.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8041
Deuteranopia (green-blind)
#81784C
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d47;
/* rgb */ color: rgb(34, 141, 71);
/* oklch */ color: oklch(56.8% 0.141 150.1);
Tailwind
colors: {
  custom: {
    50: '#6eaf7b',
    500: '#228d47',
    950: '#000000',
  },
}
SCSS
$custom: #228d47;
$custom-light: #6eaf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228d47",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 140.748,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.14148,
    "h": 150.1
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#228D47
secondary
#B95195
accent
#44ADE4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228D47

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

Preview Lab → · Contrast checker → · Palette generator →

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