#228F4F#228F4F

#228F4F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.137 H 152.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#228F4F
RGBrgb(34, 143, 79)
HSLhsl(145, 62%, 35%)
HSVhsv(145, 76%, 56%)
CMYKcmyk(76.2%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.45, -44.97, 25.63)
CIE-LCHlch(52.45, 51.76, 150.32°)
OKLaboklab(57.49% -0.121 0.0632)
OKLCHoklch(57.49% 0.137 152.4)
XYZxyz(11.8924, 20.5481, 10.7350)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F4F #8F2262
analogous
#2B8F22 #228F4F #228F86
triadic
#228F4F #4F228F #8F4F22
tetradic
#228F4F #222B8F #8F2262 #8F8622
square
#228F4F #222B8F #8F2262 #8F8622
split-complementary
#228F4F #86228F #8F222B
monochromatic
#0A2C18 #165E34 #228F4F #2EC06A #55D78A

Accessibility & contrast

On white

4.11
#228F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#228F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F4F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F4F#FFFFFF#000000##000000
##228F4F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834A
Deuteranopia (green-blind)
#827A53
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f4f;
/* rgb */ color: rgb(34, 143, 79);
/* oklch */ color: oklch(57.5% 0.137 152.4);
Tailwind
colors: {
  custom: {
    50: '#6fb181',
    500: '#228f4f',
    950: '#000000',
  },
}
SCSS
$custom: #228f4f;
$custom-light: #6fb181;
$custom-dark: #000000;
JSON
{
  "hex": "#228f4f",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 144.771,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.13653,
    "h": 152.4
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#228F4F
secondary
#BA528F
accent
#43A2E5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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