#227E48#227E48

#227E48 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.120 H 153.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#227E48
RGBrgb(34, 126, 72)
HSLhsl(145, 58%, 31%)
HSVhsv(145, 73%, 49%)
CMYKcmyk(73%, 0%, 42.9%, 50.6%)
CIE-LABlab(46.62, -39.58, 21.90)
CIE-LCHlch(46.62, 45.24, 151.05°)
OKLaboklab(52.63% -0.1067 0.0543)
OKLCHoklch(52.63% 0.12 153)
XYZxyz(9.2894, 15.7286, 8.6760)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E48 #7E2258
analogous
#2A7E22 #227E48 #227E76
triadic
#227E48 #48227E #7E4822
tetradic
#227E48 #222A7E #7E2258 #7E7622
square
#227E48 #222A7E #7E2258 #7E7622
split-complementary
#227E48 #76227E #7E222A
monochromatic
#081E11 #154E2C #227E48 #2FAE64 #4CCF82

Accessibility & contrast

On white

5.07
#227E48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227E48
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E48#FFFFFF#000000##FFFFFF
##227E481.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7344
Deuteranopia (green-blind)
#736B4C
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e48;
/* rgb */ color: rgb(34, 126, 72);
/* oklch */ color: oklch(52.6% 0.120 153.0);
Tailwind
colors: {
  custom: {
    50: '#6ba47b',
    500: '#227e48',
    950: '#000000',
  },
}
SCSS
$custom: #227e48;
$custom-light: #6ba47b;
$custom-dark: #000000;
JSON
{
  "hex": "#227e48",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 72
  },
  "hsl": {
    "h": 144.783,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.11975,
    "h": 153
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#227E48
secondary
#B14B87
accent
#47A1E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227E48

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

Preview Lab → · Contrast checker → · Palette generator →

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