#227C4C#227C4C

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

Color values

HEX#227C4C
RGBrgb(34, 124, 76)
HSLhsl(148, 57%, 31%)
HSVhsv(148, 73%, 49%)
CMYKcmyk(72.6%, 0%, 38.7%, 51.4%)
CIE-LABlab(46.01, -37.95, 18.83)
CIE-LCHlch(46.01, 42.37, 153.61°)
OKLaboklab(52.15% -0.1026 0.0471)
OKLCHoklch(52.15% 0.113 155.3)
XYZxyz(9.1710, 15.2762, 9.3013)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C4C #7C2252
analogous
#257C22 #227C4C #227C79
triadic
#227C4C #4C227C #7C4C22
tetradic
#227C4C #22257C #7C2252 #7C7922
square
#227C4C #22257C #7C2252 #7C7922
split-complementary
#227C4C #79227C #7C2225
monochromatic
#081C11 #154C2F #227C4C #2FAC69 #4BCE88

Accessibility & contrast

On white

5.18
#227C4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227C4C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C4C#FFFFFF#000000##FFFFFF
##227C4C1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227c4c;
/* rgb */ color: rgb(34, 124, 76);
/* oklch */ color: oklch(52.2% 0.113 155.3);
Tailwind
colors: {
  custom: {
    50: '#6aa37e',
    500: '#227c4c',
    950: '#000000',
  },
}
SCSS
$custom: #227c4c;
$custom-light: #6aa37e;
$custom-dark: #000000;
JSON
{
  "hex": "#227c4c",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 76
  },
  "hsl": {
    "h": 148,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.11292,
    "h": 155.3
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

primary
#227C4C
secondary
#AF4B80
accent
#4899E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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