#228048#228048

#228048 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.123 H 152.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#228048
RGBrgb(34, 128, 72)
HSLhsl(144, 58%, 32%)
HSVhsv(144, 73%, 50%)
CMYKcmyk(73.4%, 0%, 43.8%, 49.8%)
CIE-LABlab(47.29, -40.39, 22.78)
CIE-LCHlch(47.29, 46.37, 150.58°)
OKLaboklab(53.19% -0.1088 0.0564)
OKLCHoklch(53.19% 0.123 152.6)
XYZxyz(9.5477, 16.2452, 8.7621)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228048 #80225A
analogous
#2B8022 #228048 #228077
triadic
#228048 #482280 #804822
tetradic
#228048 #222B80 #80225A #807722
square
#228048 #222B80 #80225A #807722
split-complementary
#228048 #772280 #80222B
monochromatic
#081F12 #15502D #228048 #2FB063 #4DD082

Accessibility & contrast

On white

4.94
#228048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#228048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228048
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228048#FFFFFF#000000##FFFFFF
##2280481.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807544
Deuteranopia (green-blind)
#756D4C
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228048;
/* rgb */ color: rgb(34, 128, 72);
/* oklch */ color: oklch(53.2% 0.123 152.6);
Tailwind
colors: {
  custom: {
    50: '#6ba67b',
    500: '#228048',
    950: '#000000',
  },
}
SCSS
$custom: #228048;
$custom-light: #6ba67b;
$custom-dark: #000000;
JSON
{
  "hex": "#228048",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 72
  },
  "hsl": {
    "h": 144.255,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.12258,
    "h": 152.6
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#228048
secondary
#B24B89
accent
#47A3E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #228048

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

Preview Lab → · Contrast checker → · Palette generator →

#228048 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva