#228D4A#228D4A

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

Color values

HEX#228D4A
RGBrgb(34, 141, 74)
HSLhsl(142, 61%, 34%)
HSVhsv(142, 76%, 55%)
CMYKcmyk(75.9%, 0%, 47.5%, 44.7%)
CIE-LABlab(51.70, -45.11, 27.37)
CIE-LCHlch(51.70, 52.76, 148.75°)
OKLaboklab(56.84% -0.1213 0.0671)
OKLCHoklch(56.84% 0.139 151.1)
XYZxyz(11.4196, 19.8829, 9.7132)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D4A #8D2265
analogous
#308D22 #228D4A #228D80
triadic
#228D4A #4A228D #8D4A22
tetradic
#228D4A #22308D #8D2265 #8D8022
square
#228D4A #22308D #8D2265 #8D8022
split-complementary
#228D4A #80228D #8D2230
monochromatic
#0A2A16 #165C30 #228D4A #2EBE64 #54D684

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D4A#FFFFFF#000000##000000
##228D4A1.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)
#8E8145
Deuteranopia (green-blind)
#81784F
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d4a;
/* rgb */ color: rgb(34, 141, 74);
/* oklch */ color: oklch(56.8% 0.139 151.1);
Tailwind
colors: {
  custom: {
    50: '#6eaf7d',
    500: '#228d4a',
    950: '#000000',
  },
}
SCSS
$custom: #228d4a;
$custom-light: #6eaf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#228d4a",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 142.43,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.13862,
    "h": 151.1
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#228D4A
secondary
#B95193
accent
#44A8E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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