#227A19#227A19

#227A19 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.154 H 141.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#227A19
RGBrgb(34, 122, 25)
HSLhsl(114, 66%, 29%)
HSVhsv(114, 80%, 48%)
CMYKcmyk(72.1%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.70, -44.41, 42.46)
CIE-LCHlch(44.70, 61.44, 136.29°)
OKLaboklab(50.87% -0.121 0.0952)
OKLCHoklch(50.87% 0.154 141.8)
XYZxyz(7.7943, 14.3285, 3.2744)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A19 #71197A
analogous
#537A19 #227A19 #197A41
triadic
#227A19 #19227A #7A1922
tetradic
#227A19 #19537A #71197A #7A4119
square
#227A19 #19537A #71197A #7A4119
split-complementary
#227A19 #41197A #7A1953
monochromatic
#071905 #14470F #227A19 #30AD23 #46D637

Accessibility & contrast

On white

5.43
#227A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#227A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A19
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A19#FFFFFF#000000##FFFFFF
##227A191.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#0B7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a19;
/* rgb */ color: rgb(34, 122, 25);
/* oklch */ color: oklch(50.9% 0.154 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ca15e',
    500: '#227a19',
    950: '#000000',
  },
}
SCSS
$custom: #227a19;
$custom-light: #6ca15e;
$custom-dark: #000000;
JSON
{
  "hex": "#227a19",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 114.433,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5087,
    "c": 0.15401,
    "h": 141.8
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#227A19
secondary
#A440AF
accent
#3FE9D9
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #227A19

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

Preview Lab → · Contrast checker → · Palette generator →

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