#228E2E#228E2E

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

Color values

HEX#228E2E
RGBrgb(34, 142, 46)
HSLhsl(127, 61%, 35%)
HSVhsv(127, 76%, 56%)
CMYKcmyk(76.1%, 0%, 67.6%, 44.3%)
CIE-LABlab(51.70, -49.46, 41.26)
CIE-LCHlch(51.70, 64.41, 140.17°)
OKLaboklab(56.73% -0.1337 0.0954)
OKLCHoklch(56.73% 0.164 144.5)
XYZxyz(10.8251, 19.8821, 5.8514)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E2E #8E2282
analogous
#4C8E22 #228E2E #228E64
triadic
#228E2E #2E228E #8E2E22
tetradic
#228E2E #224C8E #8E2282 #8E6422
square
#228E2E #224C8E #8E2282 #8E6422
split-complementary
#228E2E #64228E #8E224C
monochromatic
#0A2B0E #165D1E #228E2E #2EBF3E #54D663

Accessibility & contrast

On white

4.22
#228E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E2E#FFFFFF#000000##000000
##228E2E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918022
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e2e;
/* rgb */ color: rgb(34, 142, 46);
/* oklch */ color: oklch(56.7% 0.164 144.5);
Tailwind
colors: {
  custom: {
    50: '#70b06b',
    500: '#228e2e',
    950: '#000000',
  },
}
SCSS
$custom: #228e2e;
$custom-light: #70b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#228e2e",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 126.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56733,
    "c": 0.16428,
    "h": 144.5
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#228E2E
secondary
#BA52AE
accent
#43D3E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #228E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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