#228A47#228A47

#228A47 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.137 H 150.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#228A47
RGBrgb(34, 138, 71)
HSLhsl(141, 60%, 34%)
HSVhsv(141, 75%, 54%)
CMYKcmyk(75.4%, 0%, 48.6%, 45.9%)
CIE-LABlab(50.65, -44.49, 27.64)
CIE-LCHlch(50.65, 52.38, 148.15°)
OKLaboklab(55.96% -0.1197 0.0676)
OKLCHoklch(55.96% 0.137 150.6)
XYZxyz(10.8846, 18.9707, 9.0481)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A47 #8A2265
analogous
#318A22 #228A47 #228A7B
triadic
#228A47 #47228A #8A4722
tetradic
#228A47 #22318A #8A2265 #8A7B22
square
#228A47 #22318A #8A2265 #8A7B22
split-complementary
#228A47 #7B228A #8A2231
monochromatic
#0A2814 #16592E #228A47 #2EBB60 #52D480

Accessibility & contrast

On white

4.38
#228A47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#228A47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A47
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A47#FFFFFF#000000##000000
##228A471.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E42
Deuteranopia (green-blind)
#7E754C
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228a47;
/* rgb */ color: rgb(34, 138, 71);
/* oklch */ color: oklch(56.0% 0.137 150.6);
Tailwind
colors: {
  custom: {
    50: '#6dad7b',
    500: '#228a47',
    950: '#000000',
  },
}
SCSS
$custom: #228a47;
$custom-light: #6dad7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228a47",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 71
  },
  "hsl": {
    "h": 141.346,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.13741,
    "h": 150.6
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#228A47
secondary
#B85093
accent
#44ABE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228A47

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

Preview Lab → · Contrast checker → · Palette generator →

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