#228A45#228A45

#228A45 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.139 H 149.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#228A45
RGBrgb(34, 138, 69)
HSLhsl(140, 60%, 34%)
HSVhsv(140, 75%, 54%)
CMYKcmyk(75.4%, 0%, 50%, 45.9%)
CIE-LABlab(50.62, -44.83, 28.67)
CIE-LCHlch(50.62, 53.22, 147.40°)
OKLaboklab(55.93% -0.1206 0.0698)
OKLCHoklch(55.93% 0.139 149.9)
XYZxyz(10.8215, 18.9455, 8.7156)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A45 #8A2267
analogous
#338A22 #228A45 #228A79
triadic
#228A45 #45228A #8A4522
tetradic
#228A45 #22338A #8A2267 #8A7922
square
#228A45 #22338A #8A2267 #8A7922
split-complementary
#228A45 #79228A #8A2233
monochromatic
#0A2814 #16592C #228A45 #2EBB5E #52D47E

Accessibility & contrast

On white

4.38
#228A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#228A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A45
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A45#FFFFFF#000000##000000
##228A451.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3F
Deuteranopia (green-blind)
#7F754A
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a45;
/* rgb */ color: rgb(34, 138, 69);
/* oklch */ color: oklch(55.9% 0.139 149.9);
Tailwind
colors: {
  custom: {
    50: '#6ead7a',
    500: '#228a45',
    950: '#000000',
  },
}
SCSS
$custom: #228a45;
$custom-light: #6ead7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228a45",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 140.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.13933,
    "h": 149.9
  },
  "luminance": 0.18947
}

Semantic roles & 50–950 ramp

primary
#228A45
secondary
#B85095
accent
#44AEE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228A45

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

Preview Lab → · Contrast checker → · Palette generator →

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