#228E32#228E32

#228E32 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.161 H 145.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#228E32
RGBrgb(34, 142, 50)
HSLhsl(129, 61%, 35%)
HSVhsv(129, 76%, 56%)
CMYKcmyk(76.1%, 0%, 64.8%, 44.3%)
CIE-LABlab(51.74, -49.01, 39.50)
CIE-LCHlch(51.74, 62.94, 141.13°)
OKLaboklab(56.78% -0.1323 0.0922)
OKLCHoklch(56.78% 0.161 145.1)
XYZxyz(10.9077, 19.9151, 6.2861)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E32 #8E227E
analogous
#488E22 #228E32 #228E68
triadic
#228E32 #32228E #8E3222
tetradic
#228E32 #22488E #8E227E #8E6822
square
#228E32 #22488E #8E227E #8E6822
split-complementary
#228E32 #68228E #8E2248
monochromatic
#0A2B0F #165D21 #228E32 #2EBF43 #54D668

Accessibility & contrast

On white

4.21
#228E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#228E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E32
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E32#FFFFFF#000000##000000
##228E321.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#84783A
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e32;
/* rgb */ color: rgb(34, 142, 50);
/* oklch */ color: oklch(56.8% 0.161 145.1);
Tailwind
colors: {
  custom: {
    50: '#6fb06e',
    500: '#228e32',
    950: '#000000',
  },
}
SCSS
$custom: #228e32;
$custom-light: #6fb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#228e32",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 128.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56776,
    "c": 0.16122,
    "h": 145.1
  },
  "luminance": 0.19916
}

Semantic roles & 50–950 ramp

primary
#228E32
secondary
#BA52AB
accent
#43CDE4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #228E32

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

Preview Lab → · Contrast checker → · Palette generator →

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