#228E4A#228E4A

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

Color values

HEX#228E4A
RGBrgb(34, 142, 74)
HSLhsl(142, 61%, 35%)
HSVhsv(142, 76%, 56%)
CMYKcmyk(76.1%, 0%, 47.9%, 44.3%)
CIE-LABlab(52.04, -45.49, 27.79)
CIE-LCHlch(52.04, 53.31, 148.58°)
OKLaboklab(57.12% -0.1223 0.068)
OKLCHoklch(57.12% 0.14 150.9)
XYZxyz(11.5677, 20.1791, 9.7626)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E4A #8E2266
analogous
#308E22 #228E4A #228E80
triadic
#228E4A #4A228E #8E4A22
tetradic
#228E4A #22308E #8E2266 #8E8022
square
#228E4A #22308E #8E2266 #8E8022
split-complementary
#228E4A #80228E #8E2230
monochromatic
#0A2B17 #165D30 #228E4A #2EBF64 #54D684

Accessibility & contrast

On white

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

On black

5.04
#228E4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E4A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E4A#FFFFFF#000000##000000
##228E4A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8145
Deuteranopia (green-blind)
#82794F
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e4a;
/* rgb */ color: rgb(34, 142, 74);
/* oklch */ color: oklch(57.1% 0.140 150.9);
Tailwind
colors: {
  custom: {
    50: '#6eb07d',
    500: '#228e4a',
    950: '#000000',
  },
}
SCSS
$custom: #228e4a;
$custom-light: #6eb07d;
$custom-dark: #000000;
JSON
{
  "hex": "#228e4a",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 74
  },
  "hsl": {
    "h": 142.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.13997,
    "h": 150.9
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#228E4A
secondary
#BA5293
accent
#43A9E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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