#228A46#228A46

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

Color values

HEX#228A46
RGBrgb(34, 138, 70)
HSLhsl(141, 60%, 34%)
HSVhsv(141, 75%, 54%)
CMYKcmyk(75.4%, 0%, 49.3%, 45.9%)
CIE-LABlab(50.64, -44.66, 28.16)
CIE-LCHlch(50.64, 52.80, 147.77°)
OKLaboklab(55.94% -0.1201 0.0687)
OKLCHoklch(55.94% 0.138 150.2)
XYZxyz(10.8528, 18.9580, 8.8805)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A46 #8A2266
analogous
#328A22 #228A46 #228A7A
triadic
#228A46 #46228A #8A4622
tetradic
#228A46 #22328A #8A2266 #8A7A22
square
#228A46 #22328A #8A2266 #8A7A22
split-complementary
#228A46 #7A228A #8A2232
monochromatic
#0A2814 #16592D #228A46 #2EBB5F #52D47F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228A46#FFFFFF#000000##000000
##228A461.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)
#8B7E41
Deuteranopia (green-blind)
#7F754B
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228a46;
/* rgb */ color: rgb(34, 138, 70);
/* oklch */ color: oklch(55.9% 0.138 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ead7a',
    500: '#228a46',
    950: '#000000',
  },
}
SCSS
$custom: #228a46;
$custom-light: #6ead7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228a46",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 140.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.13837,
    "h": 150.2
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#228A46
secondary
#B85094
accent
#44ACE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228A46

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

Preview Lab → · Contrast checker → · Palette generator →

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