#227E4A#227E4A

#227E4A is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.7% C 0.118 H 153.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227E4A
RGBrgb(34, 126, 74)
HSLhsl(146, 58%, 31%)
HSVhsv(146, 73%, 49%)
CMYKcmyk(73%, 0%, 41.3%, 50.6%)
CIE-LABlab(46.65, -39.19, 20.82)
CIE-LCHlch(46.65, 44.38, 152.02°)
OKLaboklab(52.67% -0.1057 0.0518)
OKLCHoklch(52.67% 0.118 153.9)
XYZxyz(9.3557, 15.7552, 9.0252)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E4A #7E2256
analogous
#287E22 #227E4A #227E78
triadic
#227E4A #4A227E #7E4A22
tetradic
#227E4A #22287E #7E2256 #7E7822
square
#227E4A #22287E #7E2256 #7E7822
split-complementary
#227E4A #78227E #7E2228
monochromatic
#081E11 #154E2E #227E4A #2FAE66 #4CCF85

Accessibility & contrast

On white

5.06
#227E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#227E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E4A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E4A#FFFFFF#000000##FFFFFF
##227E4A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7346
Deuteranopia (green-blind)
#726B4D
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e4a;
/* rgb */ color: rgb(34, 126, 74);
/* oklch */ color: oklch(52.7% 0.118 153.9);
Tailwind
colors: {
  custom: {
    50: '#6ba47d',
    500: '#227e4a',
    950: '#000000',
  },
}
SCSS
$custom: #227e4a;
$custom-light: #6ba47d;
$custom-dark: #000000;
JSON
{
  "hex": "#227e4a",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 74
  },
  "hsl": {
    "h": 146.087,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.11776,
    "h": 153.9
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#227E4A
secondary
#B14B85
accent
#479EE1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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