#228F48#228F48

#228F48 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.143 H 150.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#228F48
RGBrgb(34, 143, 72)
HSLhsl(141, 62%, 35%)
HSVhsv(141, 76%, 56%)
CMYKcmyk(76.2%, 0%, 49.7%, 43.9%)
CIE-LABlab(52.34, -46.21, 29.24)
CIE-LCHlch(52.34, 54.69, 147.67°)
OKLaboklab(57.36% -0.1242 0.0712)
OKLCHoklch(57.36% 0.143 150.2)
XYZxyz(11.6509, 20.4515, 9.4631)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F48 #8F2269
analogous
#338F22 #228F48 #228F7E
triadic
#228F48 #48228F #8F4822
tetradic
#228F48 #22338F #8F2269 #8F7E22
square
#228F48 #22338F #8F2269 #8F7E22
split-complementary
#228F48 #7E228F #8F2233
monochromatic
#0A2C16 #165E2F #228F48 #2EC061 #55D782

Accessibility & contrast

On white

4.13
#228F48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#228F48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F48
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F48#FFFFFF#000000##000000
##228F481.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908242
Deuteranopia (green-blind)
#83794D
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f48;
/* rgb */ color: rgb(34, 143, 72);
/* oklch */ color: oklch(57.4% 0.143 150.2);
Tailwind
colors: {
  custom: {
    50: '#6fb17c',
    500: '#228f48',
    950: '#000000',
  },
}
SCSS
$custom: #228f48;
$custom-light: #6fb17c;
$custom-dark: #000000;
JSON
{
  "hex": "#228f48",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 72
  },
  "hsl": {
    "h": 140.917,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.14322,
    "h": 150.2
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#228F48
secondary
#BA5296
accent
#43ACE5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #228F48

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

Preview Lab → · Contrast checker → · Palette generator →

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