#228C47#228C47

#228C47 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.140 H 150.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228C47
RGBrgb(34, 140, 71)
HSLhsl(141, 61%, 34%)
HSVhsv(141, 76%, 55%)
CMYKcmyk(75.7%, 0%, 49.3%, 45.1%)
CIE-LABlab(51.32, -45.25, 28.49)
CIE-LCHlch(51.32, 53.47, 147.80°)
OKLaboklab(56.51% -0.1217 0.0695)
OKLCHoklch(56.51% 0.14 150.3)
XYZxyz(11.1742, 19.5499, 9.1446)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C47 #8C2267
analogous
#328C22 #228C47 #228C7C
triadic
#228C47 #47228C #8C4722
tetradic
#228C47 #22328C #8C2267 #8C7C22
square
#228C47 #22328C #8C2267 #8C7C22
split-complementary
#228C47 #7C228C #8C2232
monochromatic
#0A2A15 #165B2E #228C47 #2EBD60 #53D581

Accessibility & contrast

On white

4.28
#228C47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#228C47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C47
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C47#FFFFFF#000000##000000
##228C471.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8041
Deuteranopia (green-blind)
#80774C
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c47;
/* rgb */ color: rgb(34, 140, 71);
/* oklch */ color: oklch(56.5% 0.140 150.3);
Tailwind
colors: {
  custom: {
    50: '#6eaf7b',
    500: '#228c47',
    950: '#000000',
  },
}
SCSS
$custom: #228c47;
$custom-light: #6eaf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228c47",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 71
  },
  "hsl": {
    "h": 140.943,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.14013,
    "h": 150.3
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#228C47
secondary
#B95195
accent
#44ACE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228C47

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

Preview Lab → · Contrast checker → · Palette generator →

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