#227221#227221

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

Color values

HEX#227221
RGBrgb(34, 114, 33)
HSLhsl(119, 55%, 29%)
HSVhsv(119, 71%, 45%)
CMYKcmyk(70.2%, 0%, 71.1%, 55.3%)
CIE-LABlab(41.97, -40.80, 36.48)
CIE-LCHlch(41.97, 54.73, 138.20°)
OKLaboklab(48.63% -0.1108 0.0838)
OKLCHoklch(48.63% 0.139 142.9)
XYZxyz(6.9511, 12.4838, 3.4818)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227221 #712172
analogous
#4B7221 #227221 #217249
triadic
#227221 #212272 #722122
tetradic
#227221 #214B72 #712172 #724921
square
#227221 #214B72 #712172 #724921
split-complementary
#227221 #492172 #72214B
monochromatic
#071807 #144313 #227221 #30A12F #46C944

Accessibility & contrast

On white

6.01
#227221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227221
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227221#FFFFFF#000000##FFFFFF
##2272211.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227221;
/* rgb */ color: rgb(34, 114, 33);
/* oklch */ color: oklch(48.6% 0.139 142.9);
Tailwind
colors: {
  custom: {
    50: '#699b61',
    500: '#227221',
    950: '#000000',
  },
}
SCSS
$custom: #227221;
$custom-light: #699b61;
$custom-dark: #000000;
JSON
{
  "hex": "#227221",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 119.259,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.13896,
    "h": 142.9
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#227221
secondary
#A449A5
accent
#49DEDD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227221

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

Preview Lab → · Contrast checker → · Palette generator →

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