#227E13#227E13

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

Color values

HEX#227E13
RGBrgb(34, 126, 19)
HSLhsl(112, 74%, 28%)
HSVhsv(112, 85%, 49%)
CMYKcmyk(73%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.05, -46.20, 45.68)
CIE-LCHlch(46.05, 64.97, 135.32°)
OKLaboklab(51.98% -0.1262 0.1011)
OKLCHoklch(51.98% 0.162 141.3)
XYZxyz(8.2376, 15.3079, 3.1366)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E13 #6F137E
analogous
#577E13 #227E13 #137E39
triadic
#227E13 #13227E #7E1322
tetradic
#227E13 #13577E #6F137E #7E3913
square
#227E13 #13577E #6F137E #7E3913
split-complementary
#227E13 #39137E #7E1357
monochromatic
#071B04 #14490B #227E13 #30B31B #45DF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E13#FFFFFF#000000##FFFFFF
##227E131.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)
#0A7A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e13;
/* rgb */ color: rgb(34, 126, 19);
/* oklch */ color: oklch(52.0% 0.162 141.3);
Tailwind
colors: {
  custom: {
    50: '#6da45c',
    500: '#227e13',
    950: '#000000',
  },
}
SCSS
$custom: #227e13;
$custom-light: #6da45c;
$custom-dark: #000000;
JSON
{
  "hex": "#227e13",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 111.589,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.16165,
    "h": 141.3
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#227E13
secondary
#A239B4
accent
#37F0D7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227E13

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

Preview Lab → · Contrast checker → · Palette generator →

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