#227E41#227E41

#227E41 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.127 H 150.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#227E41
RGBrgb(34, 126, 65)
HSLhsl(140, 58%, 31%)
HSVhsv(140, 73%, 49%)
CMYKcmyk(73%, 0%, 48.4%, 50.6%)
CIE-LABlab(46.50, -40.89, 25.63)
CIE-LCHlch(46.50, 48.25, 147.92°)
OKLaboklab(52.5% -0.1101 0.0627)
OKLCHoklch(52.5% 0.127 150.3)
XYZxyz(9.0739, 15.6424, 7.5411)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E41 #7E225F
analogous
#317E22 #227E41 #227E6F
triadic
#227E41 #41227E #7E4122
tetradic
#227E41 #22317E #7E225F #7E6F22
square
#227E41 #22317E #7E225F #7E6F22
split-complementary
#227E41 #6F227E #7E2231
monochromatic
#081E0F #154E28 #227E41 #2FAE5A #4CCF78

Accessibility & contrast

On white

5.09
#227E41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#227E41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E41
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E41#FFFFFF#000000##FFFFFF
##227E411.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733C
Deuteranopia (green-blind)
#746B45
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e41;
/* rgb */ color: rgb(34, 126, 65);
/* oklch */ color: oklch(52.5% 0.127 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ba476',
    500: '#227e41',
    950: '#000000',
  },
}
SCSS
$custom: #227e41;
$custom-light: #6ba476;
$custom-dark: #000000;
JSON
{
  "hex": "#227e41",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 65
  },
  "hsl": {
    "h": 140.217,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.12668,
    "h": 150.3
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#227E41
secondary
#B14B8E
accent
#47ADE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227E41

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

Preview Lab → · Contrast checker → · Palette generator →

#227E41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva