#227A16#227A16

#227A16 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.156 H 141.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#227A16
RGBrgb(34, 122, 22)
HSLhsl(113, 69%, 28%)
HSVhsv(113, 82%, 48%)
CMYKcmyk(72.1%, 0%, 82%, 52.2%)
CIE-LABlab(44.68, -44.62, 43.47)
CIE-LCHlch(44.68, 62.30, 135.75°)
OKLaboklab(50.85% -0.1218 0.0969)
OKLCHoklch(50.85% 0.156 141.5)
XYZxyz(7.7636, 14.3162, 3.1131)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A16 #6E167A
analogous
#547A16 #227A16 #167A3C
triadic
#227A16 #16227A #7A1622
tetradic
#227A16 #16547A #6E167A #7A3C16
square
#227A16 #16547A #6E167A #7A3C16
split-complementary
#227A16 #3C167A #7A1654
monochromatic
#071A05 #14460D #227A16 #30AE1F #45DA31

Accessibility & contrast

On white

5.44
#227A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#227A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A16
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A16#FFFFFF#000000##FFFFFF
##227A161.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#0C7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a16;
/* rgb */ color: rgb(34, 122, 22);
/* oklch */ color: oklch(50.8% 0.156 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ca15c',
    500: '#227a16',
    950: '#000000',
  },
}
SCSS
$custom: #227a16;
$custom-light: #6ca15c;
$custom-dark: #000000;
JSON
{
  "hex": "#227a16",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 112.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5085,
    "c": 0.15561,
    "h": 141.5
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#227A16
secondary
#A13DAF
accent
#3CECD7
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #227A16

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

Preview Lab → · Contrast checker → · Palette generator →

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