#228E3A#228E3A

#228E3A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.155 H 146.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#228E3A
RGBrgb(34, 142, 58)
HSLhsl(133, 61%, 35%)
HSVhsv(133, 76%, 56%)
CMYKcmyk(76.1%, 0%, 59.2%, 44.3%)
CIE-LABlab(51.83, -47.99, 35.78)
CIE-LCHlch(51.83, 59.86, 143.29°)
OKLaboklab(56.87% -0.1292 0.0849)
OKLCHoklch(56.87% 0.155 146.7)
XYZxyz(11.0956, 19.9903, 7.2759)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E3A #8E2276
analogous
#408E22 #228E3A #228E70
triadic
#228E3A #3A228E #8E3A22
tetradic
#228E3A #22408E #8E2276 #8E7022
square
#228E3A #22408E #8E2276 #8E7022
split-complementary
#228E3A #70228E #8E2240
monochromatic
#0A2B12 #165D26 #228E3A #2EBF4E #54D671

Accessibility & contrast

On white

4.20
#228E3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#228E3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E3A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E3A#FFFFFF#000000##000000
##228E3A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908132
Deuteranopia (green-blind)
#847841
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e3a;
/* rgb */ color: rgb(34, 142, 58);
/* oklch */ color: oklch(56.9% 0.155 146.7);
Tailwind
colors: {
  custom: {
    50: '#6fb073',
    500: '#228e3a',
    950: '#000000',
  },
}
SCSS
$custom: #228e3a;
$custom-light: #6fb073;
$custom-dark: #000000;
JSON
{
  "hex": "#228e3a",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 58
  },
  "hsl": {
    "h": 133.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.15462,
    "h": 146.7
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#228E3A
secondary
#BA52A3
accent
#43C1E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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