#228F41#228F41

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

Color values

HEX#228F41
RGBrgb(34, 143, 65)
HSLhsl(137, 62%, 35%)
HSVhsv(137, 76%, 56%)
CMYKcmyk(76.2%, 0%, 54.5%, 43.9%)
CIE-LABlab(52.25, -47.34, 32.77)
CIE-LCHlch(52.25, 57.57, 145.30°)
OKLaboklab(57.25% -0.1273 0.0788)
OKLCHoklch(57.25% 0.15 148.3)
XYZxyz(11.4354, 20.3653, 8.3282)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F41 #8F2270
analogous
#3A8F22 #228F41 #228F78
triadic
#228F41 #41228F #8F4122
tetradic
#228F41 #223A8F #8F2270 #8F7822
square
#228F41 #223A8F #8F2270 #8F7822
split-complementary
#228F41 #78228F #8F223A
monochromatic
#0A2C14 #165E2B #228F41 #2EC057 #55D77A

Accessibility & contrast

On white

4.14
#228F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#228F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F41
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F41#FFFFFF#000000##000000
##228F411.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823A
Deuteranopia (green-blind)
#847947
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f41;
/* rgb */ color: rgb(34, 143, 65);
/* oklch */ color: oklch(57.3% 0.150 148.3);
Tailwind
colors: {
  custom: {
    50: '#6fb177',
    500: '#228f41',
    950: '#000000',
  },
}
SCSS
$custom: #228f41;
$custom-light: #6fb177;
$custom-dark: #000000;
JSON
{
  "hex": "#228f41",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 65
  },
  "hsl": {
    "h": 137.064,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.14972,
    "h": 148.3
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#228F41
secondary
#BA529D
accent
#43B7E5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #228F41

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

Preview Lab → · Contrast checker → · Palette generator →

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