#228A3C#228A3C

#228A3C is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.148 H 147.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228A3C
RGBrgb(34, 138, 60)
HSLhsl(135, 60%, 34%)
HSVhsv(135, 75%, 54%)
CMYKcmyk(75.4%, 0%, 56.5%, 45.9%)
CIE-LABlab(50.50, -46.25, 33.21)
CIE-LCHlch(50.50, 56.94, 144.32°)
OKLaboklab(55.79% -0.1245 0.0794)
OKLCHoklch(55.79% 0.148 147.5)
XYZxyz(10.5630, 18.8421, 7.3543)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A3C #8A2270
analogous
#3C8A22 #228A3C #228A70
triadic
#228A3C #3C228A #8A3C22
tetradic
#228A3C #223C8A #8A2270 #8A7022
square
#228A3C #223C8A #8A2270 #8A7022
split-complementary
#228A3C #70228A #8A223C
monochromatic
#0A2811 #165927 #228A3C #2EBB51 #52D473

Accessibility & contrast

On white

4.40
#228A3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#228A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A3C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A3C#FFFFFF#000000##000000
##228A3C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D35
Deuteranopia (green-blind)
#807542
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a3c;
/* rgb */ color: rgb(34, 138, 60);
/* oklch */ color: oklch(55.8% 0.148 147.5);
Tailwind
colors: {
  custom: {
    50: '#6ead74',
    500: '#228a3c',
    950: '#000000',
  },
}
SCSS
$custom: #228a3c;
$custom-light: #6ead74;
$custom-dark: #000000;
JSON
{
  "hex": "#228a3c",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 60
  },
  "hsl": {
    "h": 135,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.14768,
    "h": 147.5
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#228A3C
secondary
#B8509E
accent
#44BCE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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