#227A32#227A32

#227A32 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.135 H 146.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#227A32
RGBrgb(34, 122, 50)
HSLhsl(131, 56%, 31%)
HSVhsv(131, 72%, 48%)
CMYKcmyk(72.1%, 0%, 59%, 52.2%)
CIE-LABlab(44.93, -41.73, 31.65)
CIE-LCHlch(44.93, 52.37, 142.82°)
OKLaboklab(51.13% -0.1126 0.0752)
OKLCHoklch(51.13% 0.135 146.2)
XYZxyz(8.1944, 14.4885, 5.3817)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A32 #7A226A
analogous
#3E7A22 #227A32 #227A5E
triadic
#227A32 #32227A #7A3222
tetradic
#227A32 #223E7A #7A226A #7A5E22
square
#227A32 #223E7A #7A226A #7A5E22
split-complementary
#227A32 #5E227A #7A223E
monochromatic
#071A0B #154A1E #227A32 #2FAA46 #4ACD62

Accessibility & contrast

On white

5.39
#227A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#227A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A32
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A32#FFFFFF#000000##FFFFFF
##227A321.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2B
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a32;
/* rgb */ color: rgb(34, 122, 50);
/* oklch */ color: oklch(51.1% 0.135 146.2);
Tailwind
colors: {
  custom: {
    50: '#6aa16c',
    500: '#227a32',
    950: '#000000',
  },
}
SCSS
$custom: #227a32;
$custom-light: #6aa16c;
$custom-dark: #000000;
JSON
{
  "hex": "#227a32",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 50
  },
  "hsl": {
    "h": 130.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.1354,
    "h": 146.2
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#227A32
secondary
#AD4B9B
accent
#48C4E0
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227A32

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

Preview Lab → · Contrast checker → · Palette generator →

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