#228F4A#228F4A

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

Color values

HEX#228F4A
RGBrgb(34, 143, 74)
HSLhsl(142, 62%, 35%)
HSVhsv(142, 76%, 56%)
CMYKcmyk(76.2%, 0%, 48.3%, 43.9%)
CIE-LABlab(52.37, -45.87, 28.22)
CIE-LCHlch(52.37, 53.85, 148.40°)
OKLaboklab(57.4% -0.1233 0.069)
OKLCHoklch(57.4% 0.141 150.8)
XYZxyz(11.7172, 20.4780, 9.8124)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F4A #8F2267
analogous
#318F22 #228F4A #228F80
triadic
#228F4A #4A228F #8F4A22
tetradic
#228F4A #22318F #8F2267 #8F8022
square
#228F4A #22318F #8F2267 #8F8022
split-complementary
#228F4A #80228F #8F2231
monochromatic
#0A2C17 #165E30 #228F4A #2EC064 #55D784

Accessibility & contrast

On white

4.12
#228F4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#228F4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F4A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F4A#FFFFFF#000000##000000
##228F4A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908245
Deuteranopia (green-blind)
#83794F
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f4a;
/* rgb */ color: rgb(34, 143, 74);
/* oklch */ color: oklch(57.4% 0.141 150.8);
Tailwind
colors: {
  custom: {
    50: '#6fb17d',
    500: '#228f4a',
    950: '#000000',
  },
}
SCSS
$custom: #228f4a;
$custom-light: #6fb17d;
$custom-dark: #000000;
JSON
{
  "hex": "#228f4a",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 74
  },
  "hsl": {
    "h": 142.018,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.14132,
    "h": 150.8
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

primary
#228F4A
secondary
#BA5294
accent
#43A9E5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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