#227C4A#227C4A

#227C4A is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.115 H 154.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#227C4A
RGBrgb(34, 124, 74)
HSLhsl(147, 57%, 31%)
HSVhsv(147, 73%, 49%)
CMYKcmyk(72.6%, 0%, 40.3%, 51.4%)
CIE-LABlab(45.97, -38.37, 19.92)
CIE-LCHlch(45.97, 43.23, 152.56°)
OKLaboklab(52.11% -0.1036 0.0497)
OKLCHoklch(52.11% 0.115 154.4)
XYZxyz(9.1026, 15.2488, 8.9408)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C4A #7C2254
analogous
#277C22 #227C4A #227C77
triadic
#227C4A #4A227C #7C4A22
tetradic
#227C4A #22277C #7C2254 #7C7722
square
#227C4A #22277C #7C2254 #7C7722
split-complementary
#227C4A #77227C #7C2227
monochromatic
#081C11 #154C2D #227C4A #2FAC67 #4BCE85

Accessibility & contrast

On white

5.19
#227C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#227C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C4A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C4A#FFFFFF#000000##FFFFFF
##227C4A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7247
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c4a;
/* rgb */ color: rgb(34, 124, 74);
/* oklch */ color: oklch(52.1% 0.115 154.4);
Tailwind
colors: {
  custom: {
    50: '#6aa37d',
    500: '#227c4a',
    950: '#000000',
  },
}
SCSS
$custom: #227c4a;
$custom-light: #6aa37d;
$custom-dark: #000000;
JSON
{
  "hex": "#227c4a",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 74
  },
  "hsl": {
    "h": 146.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.1149,
    "h": 154.4
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#227C4A
secondary
#AF4B82
accent
#489CE0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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