#228E39#228E39

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

Color values

HEX#228E39
RGBrgb(34, 142, 57)
HSLhsl(133, 61%, 35%)
HSVhsv(133, 76%, 56%)
CMYKcmyk(76.1%, 0%, 59.9%, 44.3%)
CIE-LABlab(51.81, -48.12, 36.26)
CIE-LCHlch(51.81, 60.26, 143.00°)
OKLaboklab(56.86% -0.1296 0.0858)
OKLCHoklch(56.86% 0.155 146.5)
XYZxyz(11.0704, 19.9802, 7.1432)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E39 #8E2277
analogous
#418E22 #228E39 #228E6F
triadic
#228E39 #39228E #8E3922
tetradic
#228E39 #22418E #8E2277 #8E6F22
square
#228E39 #22418E #8E2277 #8E6F22
split-complementary
#228E39 #6F228E #8E2241
monochromatic
#0A2B11 #165D25 #228E39 #2EBF4D #54D670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E39#FFFFFF#000000##000000
##228E391.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)
#908130
Deuteranopia (green-blind)
#847840
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e39;
/* rgb */ color: rgb(34, 142, 57);
/* oklch */ color: oklch(56.9% 0.155 146.5);
Tailwind
colors: {
  custom: {
    50: '#6fb072',
    500: '#228e39',
    950: '#000000',
  },
}
SCSS
$custom: #228e39;
$custom-light: #6fb072;
$custom-dark: #000000;
JSON
{
  "hex": "#228e39",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 132.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.15548,
    "h": 146.5
  },
  "luminance": 0.19981
}

Semantic roles & 50–950 ramp

primary
#228E39
secondary
#BA52A4
accent
#43C2E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228E39

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

Preview Lab → · Contrast checker → · Palette generator →

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