#228A4C#228A4C

#228A4C is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.133 H 152.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#228A4C
RGBrgb(34, 138, 76)
HSLhsl(144, 60%, 34%)
HSVhsv(144, 75%, 54%)
CMYKcmyk(75.4%, 0%, 44.9%, 45.9%)
CIE-LABlab(50.73, -43.59, 25.03)
CIE-LCHlch(50.73, 50.27, 150.13°)
OKLaboklab(56.05% -0.1173 0.0618)
OKLCHoklch(56.05% 0.133 152.2)
XYZxyz(11.0517, 19.0376, 9.9282)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A4C #8A2260
analogous
#2C8A22 #228A4C #228A80
triadic
#228A4C #4C228A #8A4C22
tetradic
#228A4C #222C8A #8A2260 #8A8022
square
#228A4C #222C8A #8A2260 #8A8022
split-complementary
#228A4C #80228A #8A222C
monochromatic
#0A2816 #165931 #228A4C #2EBB67 #52D487

Accessibility & contrast

On white

4.37
#228A4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#228A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A4C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A4C#FFFFFF#000000##000000
##228A4C1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E47
Deuteranopia (green-blind)
#7E7550
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228a4c;
/* rgb */ color: rgb(34, 138, 76);
/* oklch */ color: oklch(56.0% 0.133 152.2);
Tailwind
colors: {
  custom: {
    50: '#6dad7f',
    500: '#228a4c',
    950: '#000000',
  },
}
SCSS
$custom: #228a4c;
$custom-light: #6dad7f;
$custom-dark: #000000;
JSON
{
  "hex": "#228a4c",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 76
  },
  "hsl": {
    "h": 144.231,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.13259,
    "h": 152.2
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#228A4C
secondary
#B8508E
accent
#44A3E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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