#228E4D#228E4D

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

Color values

HEX#228E4D
RGBrgb(34, 142, 77)
HSLhsl(144, 61%, 35%)
HSVhsv(144, 76%, 56%)
CMYKcmyk(76.1%, 0%, 45.8%, 44.3%)
CIE-LABlab(52.09, -44.95, 26.24)
CIE-LCHlch(52.09, 52.05, 149.73°)
OKLaboklab(57.17% -0.1209 0.0646)
OKLCHoklch(57.17% 0.137 151.9)
XYZxyz(11.6712, 20.2205, 10.3076)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E4D #8E2263
analogous
#2D8E22 #228E4D #228E83
triadic
#228E4D #4D228E #8E4D22
tetradic
#228E4D #222D8E #8E2263 #8E8322
square
#228E4D #222D8E #8E2263 #8E8322
split-complementary
#228E4D #83228E #8E222D
monochromatic
#0A2B17 #165D32 #228E4D #2EBF68 #54D688

Accessibility & contrast

On white

4.16
#228E4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E4D#FFFFFF#000000##000000
##228E4D1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8248
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e4d;
/* rgb */ color: rgb(34, 142, 77);
/* oklch */ color: oklch(57.2% 0.137 151.9);
Tailwind
colors: {
  custom: {
    50: '#6eb080',
    500: '#228e4d',
    950: '#000000',
  },
}
SCSS
$custom: #228e4d;
$custom-light: #6eb080;
$custom-dark: #000000;
JSON
{
  "hex": "#228e4d",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 77
  },
  "hsl": {
    "h": 143.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57173,
    "c": 0.1371,
    "h": 151.9
  },
  "luminance": 0.20222
}

Semantic roles & 50–950 ramp

primary
#228E4D
secondary
#BA5290
accent
#43A4E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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