#228C48#228C48

#228C48 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.139 H 150.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228C48
RGBrgb(34, 140, 72)
HSLhsl(142, 61%, 34%)
HSVhsv(142, 76%, 55%)
CMYKcmyk(75.7%, 0%, 48.6%, 45.1%)
CIE-LABlab(51.34, -45.08, 27.98)
CIE-LCHlch(51.34, 53.05, 148.18°)
OKLaboklab(56.53% -0.1212 0.0684)
OKLCHoklch(56.53% 0.139 150.6)
XYZxyz(11.2065, 19.5628, 9.3150)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C48 #8C2266
analogous
#318C22 #228C48 #228C7D
triadic
#228C48 #48228C #8C4822
tetradic
#228C48 #22318C #8C2266 #8C7D22
square
#228C48 #22318C #8C2266 #8C7D22
split-complementary
#228C48 #7D228C #8C2231
monochromatic
#0A2A15 #165B2F #228C48 #2EBD61 #53D582

Accessibility & contrast

On white

4.27
#228C48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#228C48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C48
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C48#FFFFFF#000000##000000
##228C481.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8043
Deuteranopia (green-blind)
#80774D
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c48;
/* rgb */ color: rgb(34, 140, 72);
/* oklch */ color: oklch(56.5% 0.139 150.6);
Tailwind
colors: {
  custom: {
    50: '#6eaf7c',
    500: '#228c48',
    950: '#000000',
  },
}
SCSS
$custom: #228c48;
$custom-light: #6eaf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#228c48",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 72
  },
  "hsl": {
    "h": 141.509,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.13918,
    "h": 150.6
  },
  "luminance": 0.19564
}

Semantic roles & 50–950 ramp

primary
#228C48
secondary
#B95194
accent
#44ABE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228C48

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

Preview Lab → · Contrast checker → · Palette generator →

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