#227D4A#227D4A

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

Color values

HEX#227D4A
RGBrgb(34, 125, 74)
HSLhsl(146, 57%, 31%)
HSVhsv(146, 73%, 49%)
CMYKcmyk(72.8%, 0%, 40.8%, 51%)
CIE-LABlab(46.31, -38.78, 20.37)
CIE-LCHlch(46.31, 43.80, 152.29°)
OKLaboklab(52.39% -0.1047 0.0508)
OKLCHoklch(52.39% 0.116 154.1)
XYZxyz(9.2285, 15.5007, 8.9828)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D4A #7D2255
analogous
#277D22 #227D4A #227D77
triadic
#227D4A #4A227D #7D4A22
tetradic
#227D4A #22277D #7D2255 #7D7722
square
#227D4A #22277D #7D2255 #7D7722
split-complementary
#227D4A #77227D #7D2227
monochromatic
#081D11 #154D2E #227D4A #2FAD66 #4BCE85

Accessibility & contrast

On white

5.12
#227D4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227D4A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D4A#FFFFFF#000000##FFFFFF
##227D4A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227d4a;
/* rgb */ color: rgb(34, 125, 74);
/* oklch */ color: oklch(52.4% 0.116 154.1);
Tailwind
colors: {
  custom: {
    50: '#6aa37d',
    500: '#227d4a',
    950: '#000000',
  },
}
SCSS
$custom: #227d4a;
$custom-light: #6aa37d;
$custom-dark: #000000;
JSON
{
  "hex": "#227d4a",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 74
  },
  "hsl": {
    "h": 146.374,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.11634,
    "h": 154.1
  },
  "luminance": 0.15502
}

Semantic roles & 50–950 ramp

primary
#227D4A
secondary
#B04B83
accent
#479DE0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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