#228D4E#228D4E

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

Color values

HEX#228D4E
RGBrgb(34, 141, 78)
HSLhsl(145, 61%, 34%)
HSVhsv(145, 76%, 55%)
CMYKcmyk(75.9%, 0%, 44.7%, 44.7%)
CIE-LABlab(51.77, -44.38, 25.28)
CIE-LCHlch(51.77, 51.08, 150.33°)
OKLaboklab(56.92% -0.1194 0.0624)
OKLCHoklch(56.92% 0.135 152.4)
XYZxyz(11.5587, 19.9385, 10.4456)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D4E #8D2261
analogous
#2C8D22 #228D4E #228D84
triadic
#228D4E #4E228D #8D4E22
tetradic
#228D4E #222C8D #8D2261 #8D8422
square
#228D4E #222C8D #8D2261 #8D8422
split-complementary
#228D4E #84228D #8D222C
monochromatic
#0A2A17 #165C33 #228D4E #2EBE69 #54D689

Accessibility & contrast

On white

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

On black

4.99
#228D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D4E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D4E#FFFFFF#000000##000000
##228D4E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8149
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d4e;
/* rgb */ color: rgb(34, 141, 78);
/* oklch */ color: oklch(56.9% 0.135 152.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf80',
    500: '#228d4e',
    950: '#000000',
  },
}
SCSS
$custom: #228d4e;
$custom-light: #6eaf80;
$custom-dark: #000000;
JSON
{
  "hex": "#228d4e",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 144.673,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.13477,
    "h": 152.4
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#228D4E
secondary
#B9518F
accent
#44A2E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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