#227D48#227D48

#227D48 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.4% C 0.118 H 153.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#227D48
RGBrgb(34, 125, 72)
HSLhsl(145, 57%, 31%)
HSVhsv(145, 73%, 49%)
CMYKcmyk(72.8%, 0%, 42.4%, 51%)
CIE-LABlab(46.28, -39.18, 21.45)
CIE-LCHlch(46.28, 44.67, 151.30°)
OKLaboklab(52.35% -0.1057 0.0533)
OKLCHoklch(52.35% 0.118 153.2)
XYZxyz(9.1622, 15.4742, 8.6336)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D48 #7D2257
analogous
#297D22 #227D48 #227D75
triadic
#227D48 #48227D #7D4822
tetradic
#227D48 #22297D #7D2257 #7D7522
square
#227D48 #22297D #7D2257 #7D7522
split-complementary
#227D48 #75227D #7D2229
monochromatic
#081D11 #154D2C #227D48 #2FAD64 #4BCE82

Accessibility & contrast

On white

5.13
#227D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#227D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D48
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D48#FFFFFF#000000##FFFFFF
##227D481.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7244
Deuteranopia (green-blind)
#726A4C
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227d48;
/* rgb */ color: rgb(34, 125, 72);
/* oklch */ color: oklch(52.4% 0.118 153.2);
Tailwind
colors: {
  custom: {
    50: '#6aa37b',
    500: '#227d48',
    950: '#000000',
  },
}
SCSS
$custom: #227d48;
$custom-light: #6aa37b;
$custom-dark: #000000;
JSON
{
  "hex": "#227d48",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 72
  },
  "hsl": {
    "h": 145.055,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.11833,
    "h": 153.2
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#227D48
secondary
#B04B86
accent
#47A1E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227D48

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

Preview Lab → · Contrast checker → · Palette generator →

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