#227E14#227E14

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

Color values

HEX#227E14
RGBrgb(34, 126, 20)
HSLhsl(112, 73%, 29%)
HSVhsv(112, 84%, 49%)
CMYKcmyk(73%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.06, -46.14, 45.39)
CIE-LCHlch(46.06, 64.72, 135.47°)
OKLaboklab(51.99% -0.126 0.1006)
OKLCHoklch(51.99% 0.161 141.4)
XYZxyz(8.2464, 15.3114, 3.1825)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E14 #70147E
analogous
#577E14 #227E14 #147E3B
triadic
#227E14 #14227E #7E1422
tetradic
#227E14 #14577E #70147E #7E3B14
square
#227E14 #14577E #70147E #7E3B14
split-complementary
#227E14 #3B147E #7E1457
monochromatic
#071A04 #14490C #227E14 #30B31C #46DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E14#FFFFFF#000000##FFFFFF
##227E141.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)
#776A21
Tritanopia (blue-blind)
#097A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e14;
/* rgb */ color: rgb(34, 126, 20);
/* oklch */ color: oklch(52.0% 0.161 141.4);
Tailwind
colors: {
  custom: {
    50: '#6da45c',
    500: '#227e14',
    950: '#000000',
  },
}
SCSS
$custom: #227e14;
$custom-light: #6da45c;
$custom-dark: #000000;
JSON
{
  "hex": "#227e14",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 112.075,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51988,
    "c": 0.1612,
    "h": 141.4
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#227E14
secondary
#A33AB3
accent
#38EFD7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227E14

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

Preview Lab → · Contrast checker → · Palette generator →

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