#228F47#228F47

#228F47 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.144 H 149.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#228F47
RGBrgb(34, 143, 71)
HSLhsl(140, 62%, 35%)
HSVhsv(140, 76%, 56%)
CMYKcmyk(76.2%, 0%, 50.3%, 43.9%)
CIE-LABlab(52.33, -46.38, 29.75)
CIE-LCHlch(52.33, 55.10, 147.32°)
OKLaboklab(57.35% -0.1247 0.0724)
OKLCHoklch(57.35% 0.144 149.9)
XYZxyz(11.6185, 20.4386, 9.2927)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F47 #8F226A
analogous
#348F22 #228F47 #228F7E
triadic
#228F47 #47228F #8F4722
tetradic
#228F47 #22348F #8F226A #8F7E22
square
#228F47 #22348F #8F226A #8F7E22
split-complementary
#228F47 #7E228F #8F2234
monochromatic
#0A2C16 #165E2E #228F47 #2EC060 #55D781

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F47#FFFFFF#000000##000000
##228F471.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)
#908241
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f47;
/* rgb */ color: rgb(34, 143, 71);
/* oklch */ color: oklch(57.3% 0.144 149.9);
Tailwind
colors: {
  custom: {
    50: '#6fb17b',
    500: '#228f47',
    950: '#000000',
  },
}
SCSS
$custom: #228f47;
$custom-light: #6fb17b;
$custom-dark: #000000;
JSON
{
  "hex": "#228f47",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 71
  },
  "hsl": {
    "h": 140.367,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.14416,
    "h": 149.9
  },
  "luminance": 0.2044
}

Semantic roles & 50–950 ramp

primary
#228F47
secondary
#BA5297
accent
#43AEE5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #228F47

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

Preview Lab → · Contrast checker → · Palette generator →

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