#227216#227216

#227216 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.146 H 141.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#227216
RGBrgb(34, 114, 22)
HSLhsl(112, 68%, 27%)
HSVhsv(112, 81%, 45%)
CMYKcmyk(70.2%, 0%, 80.7%, 55.3%)
CIE-LABlab(41.89, -41.76, 40.79)
CIE-LCHlch(41.89, 58.38, 135.67°)
OKLaboklab(48.54% -0.114 0.0913)
OKLCHoklch(48.54% 0.146 141.3)
XYZxyz(6.8215, 12.4319, 2.7990)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227216 #661672
analogous
#507216 #227216 #167238
triadic
#227216 #162272 #721622
tetradic
#227216 #165072 #661672 #723816
square
#227216 #165072 #661672 #723816
split-complementary
#227216 #381672 #721650
monochromatic
#081A05 #133F0C #227216 #31A520 #42D62C

Accessibility & contrast

On white

6.02
#227216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#227216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227216
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227216#FFFFFF#000000##FFFFFF
##2272161.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#116E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227216;
/* rgb */ color: rgb(34, 114, 22);
/* oklch */ color: oklch(48.5% 0.146 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a9b5b',
    500: '#227216',
    950: '#000000',
  },
}
SCSS
$custom: #227216;
$custom-light: #6a9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227216",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 112.174,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.14609,
    "h": 141.3
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#227216
secondary
#9A3CA8
accent
#3DEBD4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227216

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

Preview Lab → · Contrast checker → · Palette generator →

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