#228D45#228D45

#228D45 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.143 H 149.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#228D45
RGBrgb(34, 141, 69)
HSLhsl(140, 61%, 34%)
HSVhsv(140, 76%, 55%)
CMYKcmyk(75.9%, 0%, 51.1%, 44.7%)
CIE-LABlab(51.63, -45.96, 29.93)
CIE-LCHlch(51.63, 54.85, 146.92°)
OKLaboklab(56.76% -0.1236 0.0727)
OKLCHoklch(56.76% 0.143 149.5)
XYZxyz(11.2578, 19.8182, 8.8611)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D45 #8D226A
analogous
#358D22 #228D45 #228D7B
triadic
#228D45 #45228D #8D4522
tetradic
#228D45 #22358D #8D226A #8D7B22
square
#228D45 #22358D #8D226A #8D7B22
split-complementary
#228D45 #7B228D #8D2235
monochromatic
#0A2A15 #165C2D #228D45 #2EBE5D #54D67E

Accessibility & contrast

On white

4.23
#228D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#228D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D45
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D45#FFFFFF#000000##000000
##228D451.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803F
Deuteranopia (green-blind)
#82784A
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d45;
/* rgb */ color: rgb(34, 141, 69);
/* oklch */ color: oklch(56.8% 0.143 149.5);
Tailwind
colors: {
  custom: {
    50: '#6eaf7a',
    500: '#228d45',
    950: '#000000',
  },
}
SCSS
$custom: #228d45;
$custom-light: #6eaf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228d45",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 139.626,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.14337,
    "h": 149.5
  },
  "luminance": 0.1982
}

Semantic roles & 50–950 ramp

primary
#228D45
secondary
#B95197
accent
#44B0E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228D45

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

Preview Lab → · Contrast checker → · Palette generator →

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