#227222#227222

#227222 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.138 H 143.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#227222
RGBrgb(34, 114, 34)
HSLhsl(120, 54%, 29%)
HSVhsv(120, 70%, 45%)
CMYKcmyk(70.2%, 0%, 70.2%, 55.3%)
CIE-LABlab(41.98, -40.69, 36.04)
CIE-LCHlch(41.98, 54.36, 138.47°)
OKLaboklab(48.64% -0.1105 0.083)
OKLCHoklch(48.64% 0.138 143.1)
XYZxyz(6.9653, 12.4895, 3.5567)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227222 #722272
analogous
#4A7222 #227222 #22724A
triadic
#227222 #222272 #722222
tetradic
#227222 #224A72 #722272 #724A22
square
#227222 #224A72 #722272 #724A22
split-complementary
#227222 #4A2272 #72224A
monochromatic
#071807 #144314 #227222 #30A130 #46C846

Accessibility & contrast

On white

6.00
#227222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#227222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227222
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227222#FFFFFF#000000##FFFFFF
##2272221.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756717
Deuteranopia (green-blind)
#6B6129
Tritanopia (blue-blind)
#0E6F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227222;
/* rgb */ color: rgb(34, 114, 34);
/* oklch */ color: oklch(48.6% 0.138 143.1);
Tailwind
colors: {
  custom: {
    50: '#699b61',
    500: '#227222',
    950: '#000000',
  },
}
SCSS
$custom: #227222;
$custom-light: #699b61;
$custom-dark: #000000;
JSON
{
  "hex": "#227222",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.13821,
    "h": 143.1
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#227222
secondary
#A54BA5
accent
#4ADDDD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227222

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

Preview Lab → · Contrast checker → · Palette generator →

#227222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva