#228D41#228D41

#228D41 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.147 H 148.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228D41
RGBrgb(34, 141, 65)
HSLhsl(137, 61%, 34%)
HSVhsv(137, 76%, 55%)
CMYKcmyk(75.9%, 0%, 53.9%, 44.7%)
CIE-LABlab(51.58, -46.60, 31.95)
CIE-LCHlch(51.58, 56.50, 145.56°)
OKLaboklab(56.69% -0.1253 0.077)
OKLCHoklch(56.69% 0.147 148.5)
XYZxyz(11.1378, 19.7702, 8.2290)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D41 #8D226E
analogous
#398D22 #228D41 #228D77
triadic
#228D41 #41228D #8D4122
tetradic
#228D41 #22398D #8D226E #8D7722
square
#228D41 #22398D #8D226E #8D7722
split-complementary
#228D41 #77228D #8D2239
monochromatic
#0A2A14 #165C2A #228D41 #2EBE58 #54D679

Accessibility & contrast

On white

4.24
#228D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#228D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D41
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D41#FFFFFF#000000##000000
##228D411.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803A
Deuteranopia (green-blind)
#827747
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d41;
/* rgb */ color: rgb(34, 141, 65);
/* oklch */ color: oklch(56.7% 0.147 148.5);
Tailwind
colors: {
  custom: {
    50: '#6eaf77',
    500: '#228d41',
    950: '#000000',
  },
}
SCSS
$custom: #228d41;
$custom-light: #6eaf77;
$custom-dark: #000000;
JSON
{
  "hex": "#228d41",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 137.383,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.14708,
    "h": 148.5
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#228D41
secondary
#B9519B
accent
#44B6E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228D41

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

Preview Lab → · Contrast checker → · Palette generator →

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