#228E4B#228E4B

#228E4B is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.139 H 151.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#228E4B
RGBrgb(34, 142, 75)
HSLhsl(143, 61%, 35%)
HSVhsv(143, 76%, 56%)
CMYKcmyk(76.1%, 0%, 47.2%, 44.3%)
CIE-LABlab(52.05, -45.31, 27.28)
CIE-LCHlch(52.05, 52.89, 148.95°)
OKLaboklab(57.14% -0.1219 0.0669)
OKLCHoklch(57.14% 0.139 151.2)
XYZxyz(11.6017, 20.1927, 9.9414)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E4B #8E2265
analogous
#2F8E22 #228E4B #228E81
triadic
#228E4B #4B228E #8E4B22
tetradic
#228E4B #222F8E #8E2265 #8E8122
square
#228E4B #222F8E #8E2265 #8E8122
split-complementary
#228E4B #81228E #8E222F
monochromatic
#0A2B17 #165D31 #228E4B #2EBF65 #54D686

Accessibility & contrast

On white

4.17
#228E4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#228E4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E4B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E4B#FFFFFF#000000##000000
##228E4B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8246
Deuteranopia (green-blind)
#827950
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e4b;
/* rgb */ color: rgb(34, 142, 75);
/* oklch */ color: oklch(57.1% 0.139 151.2);
Tailwind
colors: {
  custom: {
    50: '#6eb07e',
    500: '#228e4b',
    950: '#000000',
  },
}
SCSS
$custom: #228e4b;
$custom-light: #6eb07e;
$custom-dark: #000000;
JSON
{
  "hex": "#228e4b",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 75
  },
  "hsl": {
    "h": 142.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57137,
    "c": 0.13902,
    "h": 151.2
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#228E4B
secondary
#BA5292
accent
#43A7E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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