#227E32#227E32

#227E32 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.141 H 146.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#227E32
RGBrgb(34, 126, 50)
HSLhsl(130, 58%, 31%)
HSVhsv(130, 73%, 49%)
CMYKcmyk(73%, 0%, 60.3%, 50.6%)
CIE-LABlab(46.30, -43.23, 33.26)
CIE-LCHlch(46.30, 54.55, 142.43°)
OKLaboklab(52.27% -0.1166 0.0788)
OKLCHoklch(52.27% 0.141 146)
XYZxyz(8.6957, 15.4911, 5.5488)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E32 #7E226E
analogous
#407E22 #227E32 #227E60
triadic
#227E32 #32227E #7E3222
tetradic
#227E32 #22407E #7E226E #7E6022
square
#227E32 #22407E #7E226E #7E6022
split-complementary
#227E32 #60227E #7E2240
monochromatic
#081E0C #154E1F #227E32 #2FAE45 #4CCF63

Accessibility & contrast

On white

5.12
#227E32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#227E32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E32
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E32#FFFFFF#000000##FFFFFF
##227E321.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80722A
Deuteranopia (green-blind)
#756B38
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e32;
/* rgb */ color: rgb(34, 126, 50);
/* oklch */ color: oklch(52.3% 0.141 146.0);
Tailwind
colors: {
  custom: {
    50: '#6ba46c',
    500: '#227e32',
    950: '#000000',
  },
}
SCSS
$custom: #227e32;
$custom-light: #6ba46c;
$custom-dark: #000000;
JSON
{
  "hex": "#227e32",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 130.435,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.14074,
    "h": 146
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#227E32
secondary
#B14B9F
accent
#47C6E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227E32

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

Preview Lab → · Contrast checker → · Palette generator →

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