#227E15#227E15

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

Color values

HEX#227E15
RGBrgb(34, 126, 21)
HSLhsl(113, 71%, 29%)
HSVhsv(113, 83%, 49%)
CMYKcmyk(73%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.06, -46.08, 45.09)
CIE-LCHlch(46.06, 64.47, 135.62°)
OKLaboklab(51.99% -0.1258 0.1001)
OKLCHoklch(51.99% 0.161 141.5)
XYZxyz(8.2554, 15.3150, 3.2303)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E15 #71157E
analogous
#577E15 #227E15 #157E3D
triadic
#227E15 #15227E #7E1522
tetradic
#227E15 #15577E #71157E #7E3D15
square
#227E15 #15577E #71157E #7E3D15
split-complementary
#227E15 #3D157E #7E1557
monochromatic
#071A04 #144A0C #227E15 #30B21E #46DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #227e15;
/* rgb */ color: rgb(34, 126, 21);
/* oklch */ color: oklch(52.0% 0.161 141.5);
Tailwind
colors: {
  custom: {
    50: '#6da45c',
    500: '#227e15',
    950: '#000000',
  },
}
SCSS
$custom: #227e15;
$custom-light: #6da45c;
$custom-dark: #000000;
JSON
{
  "hex": "#227e15",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 112.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.16075,
    "h": 141.5
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#227E15
secondary
#A43CB3
accent
#3AEED8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227E15

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

Preview Lab → · Contrast checker → · Palette generator →

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