#227E11#227E11

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

Color values

HEX#227E11
RGBrgb(34, 126, 17)
HSLhsl(111, 76%, 28%)
HSVhsv(111, 87%, 49%)
CMYKcmyk(73%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.04, -46.31, 46.23)
CIE-LCHlch(46.04, 65.43, 135.05°)
OKLaboklab(51.97% -0.1265 0.1019)
OKLCHoklch(51.97% 0.162 141.2)
XYZxyz(8.2213, 15.3014, 3.0504)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E11 #6D117E
analogous
#587E11 #227E11 #117E36
triadic
#227E11 #11227E #7E1122
tetradic
#227E11 #11587E #6D117E #7E3611
square
#227E11 #11587E #6D117E #7E3611
split-complementary
#227E11 #36117E #7E1158
monochromatic
#071B04 #13480A #227E11 #31B418 #45E227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E11#FFFFFF#000000##FFFFFF
##227E111.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)
#776A20
Tritanopia (blue-blind)
#0A7A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e11;
/* rgb */ color: rgb(34, 126, 17);
/* oklch */ color: oklch(52.0% 0.162 141.2);
Tailwind
colors: {
  custom: {
    50: '#6da45b',
    500: '#227e11',
    950: '#000000',
  },
}
SCSS
$custom: #227e11;
$custom-light: #6da45b;
$custom-dark: #000000;
JSON
{
  "hex": "#227e11",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 110.642,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.16249,
    "h": 141.2
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#227E11
secondary
#A137B4
accent
#35F3D5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227E11

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

Preview Lab → · Contrast checker → · Palette generator →

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