#227D32#227D32

#227D32 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.139 H 146.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#227D32
RGBrgb(34, 125, 50)
HSLhsl(131, 57%, 31%)
HSVhsv(131, 73%, 49%)
CMYKcmyk(72.8%, 0%, 60%, 51%)
CIE-LABlab(45.96, -42.86, 32.86)
CIE-LCHlch(45.96, 54.01, 142.52°)
OKLaboklab(51.98% -0.1156 0.0779)
OKLCHoklch(51.98% 0.139 146)
XYZxyz(8.5684, 15.2367, 5.5064)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D32 #7D226D
analogous
#3F7D22 #227D32 #227D5F
triadic
#227D32 #32227D #7D3222
tetradic
#227D32 #223F7D #7D226D #7D5F22
square
#227D32 #223F7D #7D226D #7D5F22
split-complementary
#227D32 #5F227D #7D223F
monochromatic
#081D0C #154D1F #227D32 #2FAD45 #4BCE62

Accessibility & contrast

On white

5.19
#227D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#227D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D32
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D32#FFFFFF#000000##FFFFFF
##227D321.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712A
Deuteranopia (green-blind)
#746A38
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d32;
/* rgb */ color: rgb(34, 125, 50);
/* oklch */ color: oklch(52.0% 0.139 146.0);
Tailwind
colors: {
  custom: {
    50: '#6ba46c',
    500: '#227d32',
    950: '#000000',
  },
}
SCSS
$custom: #227d32;
$custom-light: #6ba46c;
$custom-dark: #000000;
JSON
{
  "hex": "#227d32",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 130.549,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.13942,
    "h": 146
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#227D32
secondary
#B04B9E
accent
#47C6E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227D32

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

Preview Lab → · Contrast checker → · Palette generator →

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