#227E16#227E16

#227E16 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.160 H 141.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227E16
RGBrgb(34, 126, 22)
HSLhsl(113, 70%, 29%)
HSVhsv(113, 83%, 49%)
CMYKcmyk(73%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.07, -46.02, 44.78)
CIE-LCHlch(46.07, 64.21, 135.78°)
OKLaboklab(52% -0.1255 0.0996)
OKLCHoklch(52% 0.16 141.6)
XYZxyz(8.2649, 15.3188, 3.2802)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E16 #72167E
analogous
#567E16 #227E16 #167E3E
triadic
#227E16 #16227E #7E1622
tetradic
#227E16 #16567E #72167E #7E3E16
square
#227E16 #16567E #72167E #7E3E16
split-complementary
#227E16 #3E167E #7E1656
monochromatic
#071A05 #144A0D #227E16 #30B21F #46DB33

Accessibility & contrast

On white

5.17
#227E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E16
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E16#FFFFFF#000000##FFFFFF
##227E161.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#097A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e16;
/* rgb */ color: rgb(34, 126, 22);
/* oklch */ color: oklch(52.0% 0.160 141.6);
Tailwind
colors: {
  custom: {
    50: '#6da45d',
    500: '#227e16',
    950: '#000000',
  },
}
SCSS
$custom: #227e16;
$custom-light: #6da45d;
$custom-dark: #000000;
JSON
{
  "hex": "#227e16",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 113.077,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52,
    "c": 0.16026,
    "h": 141.6
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#227E16
secondary
#A53DB3
accent
#3BEDD8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227E16

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

Preview Lab → · Contrast checker → · Palette generator →

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