#228D4C#228D4C

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

Color values

HEX#228D4C
RGBrgb(34, 141, 76)
HSLhsl(144, 61%, 34%)
HSVhsv(144, 76%, 55%)
CMYKcmyk(75.9%, 0%, 46.1%, 44.7%)
CIE-LABlab(51.74, -44.75, 26.33)
CIE-LCHlch(51.74, 51.92, 149.53°)
OKLaboklab(56.88% -0.1204 0.0648)
OKLCHoklch(56.88% 0.137 151.7)
XYZxyz(11.4881, 19.9103, 10.0737)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D4C #8D2263
analogous
#2E8D22 #228D4C #228D82
triadic
#228D4C #4C228D #8D4C22
tetradic
#228D4C #222E8D #8D2263 #8D8222
square
#228D4C #222E8D #8D2263 #8D8222
split-complementary
#228D4C #82228D #8D222E
monochromatic
#0A2A17 #165C31 #228D4C #2EBE67 #54D687

Accessibility & contrast

On white

4.21
#228D4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D4C#FFFFFF#000000##000000
##228D4C1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8147
Deuteranopia (green-blind)
#817851
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d4c;
/* rgb */ color: rgb(34, 141, 76);
/* oklch */ color: oklch(56.9% 0.137 151.7);
Tailwind
colors: {
  custom: {
    50: '#6eaf7f',
    500: '#228d4c',
    950: '#000000',
  },
}
SCSS
$custom: #228d4c;
$custom-light: #6eaf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#228d4c",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 76
  },
  "hsl": {
    "h": 143.551,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.1367,
    "h": 151.7
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#228D4C
secondary
#B95191
accent
#44A5E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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