#228E4C#228E4C

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

Color values

HEX#228E4C
RGBrgb(34, 142, 76)
HSLhsl(143, 61%, 35%)
HSVhsv(143, 76%, 56%)
CMYKcmyk(76.1%, 0%, 46.5%, 44.3%)
CIE-LABlab(52.07, -45.13, 26.76)
CIE-LCHlch(52.07, 52.47, 149.34°)
OKLaboklab(57.16% -0.1214 0.0657)
OKLCHoklch(57.16% 0.138 151.6)
XYZxyz(11.6362, 20.2065, 10.1231)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E4C #8E2264
analogous
#2E8E22 #228E4C #228E82
triadic
#228E4C #4C228E #8E4C22
tetradic
#228E4C #222E8E #8E2264 #8E8222
square
#228E4C #222E8E #8E2264 #8E8222
split-complementary
#228E4C #82228E #8E222E
monochromatic
#0A2B17 #165D32 #228E4C #2EBF66 #54D687

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E4C#FFFFFF#000000##000000
##228E4C1.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)
#8E8247
Deuteranopia (green-blind)
#827951
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e4c;
/* rgb */ color: rgb(34, 142, 76);
/* oklch */ color: oklch(57.2% 0.138 151.6);
Tailwind
colors: {
  custom: {
    50: '#6eb07f',
    500: '#228e4c',
    950: '#000000',
  },
}
SCSS
$custom: #228e4c;
$custom-light: #6eb07f;
$custom-dark: #000000;
JSON
{
  "hex": "#228e4c",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 76
  },
  "hsl": {
    "h": 143.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.13805,
    "h": 151.6
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#228E4C
secondary
#BA5291
accent
#43A6E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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