#228E37#228E37

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

Color values

HEX#228E37
RGBrgb(34, 142, 55)
HSLhsl(132, 61%, 35%)
HSVhsv(132, 76%, 56%)
CMYKcmyk(76.1%, 0%, 61.3%, 44.3%)
CIE-LABlab(51.79, -48.39, 37.20)
CIE-LCHlch(51.79, 61.04, 142.45°)
OKLaboklab(56.84% -0.1304 0.0877)
OKLCHoklch(56.84% 0.157 146.1)
XYZxyz(11.0215, 19.9606, 6.8856)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E37 #8E2279
analogous
#438E22 #228E37 #228E6D
triadic
#228E37 #37228E #8E3722
tetradic
#228E37 #22438E #8E2279 #8E6D22
square
#228E37 #22438E #8E2279 #8E6D22
split-complementary
#228E37 #6D228E #8E2243
monochromatic
#0A2B11 #165D24 #228E37 #2EBF4A #54D66E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E37#FFFFFF#000000##000000
##228E371.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)
#90812E
Deuteranopia (green-blind)
#84783E
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e37;
/* rgb */ color: rgb(34, 142, 55);
/* oklch */ color: oklch(56.8% 0.157 146.1);
Tailwind
colors: {
  custom: {
    50: '#6fb071',
    500: '#228e37',
    950: '#000000',
  },
}
SCSS
$custom: #228e37;
$custom-light: #6fb071;
$custom-dark: #000000;
JSON
{
  "hex": "#228e37",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 55
  },
  "hsl": {
    "h": 131.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.15717,
    "h": 146.1
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#228E37
secondary
#BA52A6
accent
#43C5E4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081108
muted
#7B807B

Preview Lab

Preview with #228E37

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

Preview Lab → · Contrast checker → · Palette generator →

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