#227C48#227C48

#227C48 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.117 H 153.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#227C48
RGBrgb(34, 124, 72)
HSLhsl(145, 57%, 31%)
HSVhsv(145, 73%, 49%)
CMYKcmyk(72.6%, 0%, 41.9%, 51.4%)
CIE-LABlab(45.94, -38.77, 21.01)
CIE-LCHlch(45.94, 44.09, 151.55°)
OKLaboklab(52.07% -0.1046 0.0522)
OKLCHoklch(52.07% 0.117 153.5)
XYZxyz(9.0362, 15.2223, 8.5916)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C48 #7C2256
analogous
#297C22 #227C48 #227C75
triadic
#227C48 #48227C #7C4822
tetradic
#227C48 #22297C #7C2256 #7C7522
square
#227C48 #22297C #7C2256 #7C7522
split-complementary
#227C48 #75227C #7C2229
monochromatic
#081C10 #154C2C #227C48 #2FAC64 #4BCE82

Accessibility & contrast

On white

5.19
#227C48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#227C48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C48
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C48#FFFFFF#000000##FFFFFF
##227C481.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7244
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c48;
/* rgb */ color: rgb(34, 124, 72);
/* oklch */ color: oklch(52.1% 0.117 153.5);
Tailwind
colors: {
  custom: {
    50: '#6aa37b',
    500: '#227c48',
    950: '#000000',
  },
}
SCSS
$custom: #227c48;
$custom-light: #6aa37b;
$custom-dark: #000000;
JSON
{
  "hex": "#227c48",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 72
  },
  "hsl": {
    "h": 145.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.1169,
    "h": 153.5
  },
  "luminance": 0.15223
}

Semantic roles & 50–950 ramp

primary
#227C48
secondary
#AF4B85
accent
#48A0E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227C48

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

Preview Lab → · Contrast checker → · Palette generator →

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