#227C4E#227C4E

#227C4E is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.111 H 156.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227C4E
RGBrgb(34, 124, 78)
HSLhsl(149, 57%, 31%)
HSVhsv(149, 73%, 49%)
CMYKcmyk(72.6%, 0%, 37.1%, 51.4%)
CIE-LABlab(46.05, -37.53, 17.74)
CIE-LCHlch(46.05, 41.51, 154.70°)
OKLaboklab(52.2% -0.1016 0.0446)
OKLCHoklch(52.2% 0.111 156.3)
XYZxyz(9.2416, 15.3044, 9.6732)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C4E #7C2250
analogous
#237C22 #227C4E #227C7B
triadic
#227C4E #4E227C #7C4E22
tetradic
#227C4E #22237C #7C2250 #7C7B22
square
#227C4E #22237C #7C2250 #7C7B22
split-complementary
#227C4E #7B227C #7C2223
monochromatic
#081C12 #154C30 #227C4E #2FAC6C #4BCE8B

Accessibility & contrast

On white

5.17
#227C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C4E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C4E#FFFFFF#000000##FFFFFF
##227C4E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c4e;
/* rgb */ color: rgb(34, 124, 78);
/* oklch */ color: oklch(52.2% 0.111 156.3);
Tailwind
colors: {
  custom: {
    50: '#6aa380',
    500: '#227c4e',
    950: '#000000',
  },
}
SCSS
$custom: #227c4e;
$custom-light: #6aa380;
$custom-dark: #000000;
JSON
{
  "hex": "#227c4e",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 149.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.11095,
    "h": 156.3
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#227C4E
secondary
#AF4B7E
accent
#4896E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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