#228A48#228A48

#228A48 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.136 H 150.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#228A48
RGBrgb(34, 138, 72)
HSLhsl(142, 60%, 34%)
HSVhsv(142, 75%, 54%)
CMYKcmyk(75.4%, 0%, 47.8%, 45.9%)
CIE-LABlab(50.67, -44.32, 27.12)
CIE-LCHlch(50.67, 51.96, 148.53°)
OKLaboklab(55.98% -0.1192 0.0664)
OKLCHoklch(55.98% 0.136 150.9)
XYZxyz(10.9169, 18.9837, 9.2185)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A48 #8A2264
analogous
#308A22 #228A48 #228A7C
triadic
#228A48 #48228A #8A4822
tetradic
#228A48 #22308A #8A2264 #8A7C22
square
#228A48 #22308A #8A2264 #8A7C22
split-complementary
#228A48 #7C228A #8A2230
monochromatic
#0A2815 #16592E #228A48 #2EBB62 #52D482

Accessibility & contrast

On white

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

On black

4.80
#228A48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A48
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A48#FFFFFF#000000##000000
##228A481.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E43
Deuteranopia (green-blind)
#7E754D
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228a48;
/* rgb */ color: rgb(34, 138, 72);
/* oklch */ color: oklch(56.0% 0.136 150.9);
Tailwind
colors: {
  custom: {
    50: '#6dad7c',
    500: '#228a48',
    950: '#000000',
  },
}
SCSS
$custom: #228a48;
$custom-light: #6dad7c;
$custom-dark: #000000;
JSON
{
  "hex": "#228a48",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 72
  },
  "hsl": {
    "h": 141.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.13646,
    "h": 150.9
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#228A48
secondary
#B85092
accent
#44A9E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228A48

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

Preview Lab → · Contrast checker → · Palette generator →

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