#228E33#228E33

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

Color values

HEX#228E33
RGBrgb(34, 142, 51)
HSLhsl(129, 61%, 35%)
HSVhsv(129, 76%, 56%)
CMYKcmyk(76.1%, 0%, 64.1%, 44.3%)
CIE-LABlab(51.75, -48.89, 39.05)
CIE-LCHlch(51.75, 62.57, 141.39°)
OKLaboklab(56.79% -0.1319 0.0913)
OKLCHoklch(56.79% 0.16 145.3)
XYZxyz(10.9295, 19.9238, 6.4010)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E33 #8E227D
analogous
#478E22 #228E33 #228E69
triadic
#228E33 #33228E #8E3322
tetradic
#228E33 #22478E #8E227D #8E6922
square
#228E33 #22478E #8E227D #8E6922
split-complementary
#228E33 #69228E #8E2247
monochromatic
#0A2B10 #165D21 #228E33 #2EBF45 #54D669

Accessibility & contrast

On white

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

On black

4.99
#228E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E33
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E33#FFFFFF#000000##000000
##228E331.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228e33;
/* rgb */ color: rgb(34, 142, 51);
/* oklch */ color: oklch(56.8% 0.160 145.3);
Tailwind
colors: {
  custom: {
    50: '#6fb06e',
    500: '#228e33',
    950: '#000000',
  },
}
SCSS
$custom: #228e33;
$custom-light: #6fb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#228e33",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 51
  },
  "hsl": {
    "h": 129.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.16043,
    "h": 145.3
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

primary
#228E33
secondary
#BA52AA
accent
#43CBE4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #228E33

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

Preview Lab → · Contrast checker → · Palette generator →

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