#227D4C#227D4C

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

Color values

HEX#227D4C
RGBrgb(34, 125, 76)
HSLhsl(148, 57%, 31%)
HSVhsv(148, 73%, 49%)
CMYKcmyk(72.8%, 0%, 39.2%, 51%)
CIE-LABlab(46.35, -38.37, 19.28)
CIE-LCHlch(46.35, 42.94, 153.32°)
OKLaboklab(52.43% -0.1037 0.0482)
OKLCHoklch(52.43% 0.114 155.1)
XYZxyz(9.2970, 15.5281, 9.3433)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D4C #7D2253
analogous
#257D22 #227D4C #227D79
triadic
#227D4C #4C227D #7D4C22
tetradic
#227D4C #22257D #7D2253 #7D7922
square
#227D4C #22257D #7D2253 #7D7922
split-complementary
#227D4C #79227D #7D2225
monochromatic
#081D11 #154D2F #227D4C #2FAD69 #4BCE88

Accessibility & contrast

On white

5.11
#227D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#227D4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D4C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D4C#FFFFFF#000000##FFFFFF
##227D4C1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7349
Deuteranopia (green-blind)
#716B4F
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227d4c;
/* rgb */ color: rgb(34, 125, 76);
/* oklch */ color: oklch(52.4% 0.114 155.1);
Tailwind
colors: {
  custom: {
    50: '#6aa37e',
    500: '#227d4c',
    950: '#000000',
  },
}
SCSS
$custom: #227d4c;
$custom-light: #6aa37e;
$custom-dark: #000000;
JSON
{
  "hex": "#227d4c",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 76
  },
  "hsl": {
    "h": 147.692,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.11435,
    "h": 155.1
  },
  "luminance": 0.15529
}

Semantic roles & 50–950 ramp

primary
#227D4C
secondary
#B04B81
accent
#479AE0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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