#228E43#228E43

#228E43 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.147 H 148.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228E43
RGBrgb(34, 142, 67)
HSLhsl(138, 61%, 35%)
HSVhsv(138, 76%, 56%)
CMYKcmyk(76.1%, 0%, 52.8%, 44.3%)
CIE-LABlab(51.94, -46.66, 31.36)
CIE-LCHlch(51.94, 56.22, 146.09°)
OKLaboklab(57% -0.1255 0.0758)
OKLCHoklch(57% 0.147 148.9)
XYZxyz(11.3449, 20.0900, 8.5890)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E43 #8E226D
analogous
#378E22 #228E43 #228E79
triadic
#228E43 #43228E #8E4322
tetradic
#228E43 #22378E #8E226D #8E7922
square
#228E43 #22378E #8E226D #8E7922
split-complementary
#228E43 #79228E #8E2237
monochromatic
#0A2B14 #165D2C #228E43 #2EBF5A #54D67C

Accessibility & contrast

On white

4.18
#228E43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#228E43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E43
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E43#FFFFFF#000000##000000
##228E431.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813D
Deuteranopia (green-blind)
#837849
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e43;
/* rgb */ color: rgb(34, 142, 67);
/* oklch */ color: oklch(57.0% 0.147 148.9);
Tailwind
colors: {
  custom: {
    50: '#6fb079',
    500: '#228e43',
    950: '#000000',
  },
}
SCSS
$custom: #228e43;
$custom-light: #6fb079;
$custom-dark: #000000;
JSON
{
  "hex": "#228e43",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 67
  },
  "hsl": {
    "h": 138.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.14657,
    "h": 148.9
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#228E43
secondary
#BA529A
accent
#43B3E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081109
muted
#7B807B

Preview Lab

Preview with #228E43

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

Preview Lab → · Contrast checker → · Palette generator →

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