#227A47#227A47

#227A47 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.115 H 153.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#227A47
RGBrgb(34, 122, 71)
HSLhsl(145, 56%, 31%)
HSVhsv(145, 72%, 48%)
CMYKcmyk(72.1%, 0%, 41.8%, 52.2%)
CIE-LABlab(45.24, -38.14, 20.65)
CIE-LCHlch(45.24, 43.38, 151.57°)
OKLaboklab(51.49% -0.1029 0.0514)
OKLCHoklch(51.49% 0.115 153.5)
XYZxyz(8.7558, 14.7131, 8.3385)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A47 #7A2255
analogous
#297A22 #227A47 #227A73
triadic
#227A47 #47227A #7A4722
tetradic
#227A47 #22297A #7A2255 #7A7322
square
#227A47 #22297A #7A2255 #7A7322
split-complementary
#227A47 #73227A #7A2229
monochromatic
#071A0F #154A2B #227A47 #2FAA63 #4ACD81

Accessibility & contrast

On white

5.33
#227A47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#227A47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A47
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A47#FFFFFF#000000##FFFFFF
##227A471.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7043
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a47;
/* rgb */ color: rgb(34, 122, 71);
/* oklch */ color: oklch(51.5% 0.115 153.5);
Tailwind
colors: {
  custom: {
    50: '#6aa17b',
    500: '#227a47',
    950: '#000000',
  },
}
SCSS
$custom: #227a47;
$custom-light: #6aa17b;
$custom-dark: #000000;
JSON
{
  "hex": "#227a47",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 71
  },
  "hsl": {
    "h": 145.227,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.11503,
    "h": 153.5
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#227A47
secondary
#AD4B84
accent
#48A0E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227A47

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

Preview Lab → · Contrast checker → · Palette generator →

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