#227E1A#227E1A

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

Color values

HEX#227E1A
RGBrgb(34, 126, 26)
HSLhsl(115, 66%, 30%)
HSVhsv(115, 79%, 49%)
CMYKcmyk(73%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.09, -45.74, 43.46)
CIE-LCHlch(46.09, 63.10, 136.46°)
OKLaboklab(52.03% -0.1246 0.0975)
OKLCHoklch(52.03% 0.158 142)
XYZxyz(8.3065, 15.3355, 3.4994)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E1A #761A7E
analogous
#547E1A #227E1A #1A7E44
triadic
#227E1A #1A227E #7E1A22
tetradic
#227E1A #1A547E #761A7E #7E441A
square
#227E1A #1A547E #761A7E #7E441A
split-complementary
#227E1A #441A7E #7E1A54
monochromatic
#071905 #144B10 #227E1A #30B124 #48D73C

Accessibility & contrast

On white

5.16
#227E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#227E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E1A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E1A#FFFFFF#000000##FFFFFF
##227E1A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#077A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e1a;
/* rgb */ color: rgb(34, 126, 26);
/* oklch */ color: oklch(52.0% 0.158 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da45f',
    500: '#227e1a',
    950: '#000000',
  },
}
SCSS
$custom: #227e1a;
$custom-light: #6da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#227e1a",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 115.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.15819,
    "h": 142
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#227E1A
secondary
#A942B2
accent
#3FE9DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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