#227B32#227B32

#227B32 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.137 H 146.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#227B32
RGBrgb(34, 123, 50)
HSLhsl(131, 57%, 31%)
HSVhsv(131, 72%, 48%)
CMYKcmyk(72.4%, 0%, 59.3%, 51.8%)
CIE-LABlab(45.27, -42.11, 32.05)
CIE-LCHlch(45.27, 52.92, 142.72°)
OKLaboklab(51.41% -0.1136 0.0761)
OKLCHoklch(51.41% 0.137 146.2)
XYZxyz(8.3178, 14.7354, 5.4228)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B32 #7B226B
analogous
#3E7B22 #227B32 #227B5E
triadic
#227B32 #32227B #7B3222
tetradic
#227B32 #223E7B #7B226B #7B5E22
square
#227B32 #223E7B #7B226B #7B5E22
split-complementary
#227B32 #5E227B #7B223E
monochromatic
#071B0B #154B1F #227B32 #2FAB45 #4ACD62

Accessibility & contrast

On white

5.32
#227B32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#227B32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B32
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B32#FFFFFF#000000##FFFFFF
##227B321.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702B
Deuteranopia (green-blind)
#726838
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b32;
/* rgb */ color: rgb(34, 123, 50);
/* oklch */ color: oklch(51.4% 0.137 146.2);
Tailwind
colors: {
  custom: {
    50: '#6ba26c',
    500: '#227b32',
    950: '#000000',
  },
}
SCSS
$custom: #227b32;
$custom-light: #6ba26c;
$custom-dark: #000000;
JSON
{
  "hex": "#227b32",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 50
  },
  "hsl": {
    "h": 130.787,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51414,
    "c": 0.13675,
    "h": 146.2
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#227B32
secondary
#AE4B9C
accent
#48C5E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227B32

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

Preview Lab → · Contrast checker → · Palette generator →

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