#227215#227215

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

Color values

HEX#227215
RGBrgb(34, 114, 21)
HSLhsl(112, 69%, 26%)
HSVhsv(112, 82%, 45%)
CMYKcmyk(70.2%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.89, -41.83, 41.13)
CIE-LCHlch(41.89, 58.67, 135.48°)
OKLaboklab(48.53% -0.1143 0.0919)
OKLCHoklch(48.53% 0.147 141.2)
XYZxyz(6.8120, 12.4281, 2.7492)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227215 #651572
analogous
#517215 #227215 #157237
triadic
#227215 #152272 #721522
tetradic
#227215 #155172 #651572 #723715
square
#227215 #155172 #651572 #723715
split-complementary
#227215 #371572 #721551
monochromatic
#081A05 #133E0B #227215 #31A61F #42D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227215#FFFFFF#000000##FFFFFF
##2272151.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)
#756700
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#126E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227215;
/* rgb */ color: rgb(34, 114, 21);
/* oklch */ color: oklch(48.5% 0.147 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a9b5b',
    500: '#227215',
    950: '#000000',
  },
}
SCSS
$custom: #227215;
$custom-light: #6a9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227215",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 111.613,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48531,
    "c": 0.14662,
    "h": 141.2
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#227215
secondary
#993BA8
accent
#3CECD3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227215

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

Preview Lab → · Contrast checker → · Palette generator →

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