#228A3A#228A3A

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

Color values

HEX#228A3A
RGBrgb(34, 138, 58)
HSLhsl(134, 60%, 34%)
HSVhsv(134, 75%, 54%)
CMYKcmyk(75.4%, 0%, 58%, 45.9%)
CIE-LABlab(50.48, -46.54, 34.19)
CIE-LCHlch(50.48, 57.75, 143.70°)
OKLaboklab(55.76% -0.1253 0.0814)
OKLCHoklch(55.76% 0.149 147)
XYZxyz(10.5111, 18.8213, 7.0811)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A3A #8A2272
analogous
#3E8A22 #228A3A #228A6E
triadic
#228A3A #3A228A #8A3A22
tetradic
#228A3A #223E8A #8A2272 #8A6E22
square
#228A3A #223E8A #8A2272 #8A6E22
split-complementary
#228A3A #6E228A #8A223E
monochromatic
#0A2811 #165925 #228A3A #2EBB4F #52D470

Accessibility & contrast

On white

4.41
#228A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#228A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A3A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A3A#FFFFFF#000000##000000
##228A3A1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D32
Deuteranopia (green-blind)
#807540
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a3a;
/* rgb */ color: rgb(34, 138, 58);
/* oklch */ color: oklch(55.8% 0.149 147.0);
Tailwind
colors: {
  custom: {
    50: '#6ead72',
    500: '#228a3a',
    950: '#000000',
  },
}
SCSS
$custom: #228a3a;
$custom-light: #6ead72;
$custom-dark: #000000;
JSON
{
  "hex": "#228a3a",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 133.846,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.14946,
    "h": 147
  },
  "luminance": 0.18823
}

Semantic roles & 50–950 ramp

primary
#228A3A
secondary
#B850A0
accent
#44BFE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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