#227A4A#227A4A

#227A4A is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.6% C 0.112 H 154.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#227A4A
RGBrgb(34, 122, 74)
HSLhsl(147, 56%, 31%)
HSVhsv(147, 72%, 48%)
CMYKcmyk(72.1%, 0%, 39.3%, 52.2%)
CIE-LABlab(45.29, -37.53, 19.02)
CIE-LCHlch(45.29, 42.08, 153.13°)
OKLaboklab(51.55% -0.1014 0.0476)
OKLCHoklch(51.55% 0.112 154.9)
XYZxyz(8.8544, 14.7526, 8.8581)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A4A #7A2252
analogous
#267A22 #227A4A #227A76
triadic
#227A4A #4A227A #7A4A22
tetradic
#227A4A #22267A #7A2252 #7A7622
square
#227A4A #22267A #7A2252 #7A7622
split-complementary
#227A4A #76227A #7A2226
monochromatic
#071A10 #154A2D #227A4A #2FAA67 #4ACD85

Accessibility & contrast

On white

5.32
#227A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#227A4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A4A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A4A#FFFFFF#000000##FFFFFF
##227A4A1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7047
Deuteranopia (green-blind)
#6F684D
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a4a;
/* rgb */ color: rgb(34, 122, 74);
/* oklch */ color: oklch(51.6% 0.112 154.9);
Tailwind
colors: {
  custom: {
    50: '#6aa17d',
    500: '#227a4a',
    950: '#000000',
  },
}
SCSS
$custom: #227a4a;
$custom-light: #6aa17d;
$custom-dark: #000000;
JSON
{
  "hex": "#227a4a",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 74
  },
  "hsl": {
    "h": 147.273,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.11203,
    "h": 154.9
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#227A4A
secondary
#AD4B80
accent
#489BE0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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