#227B47#227B47

#227B47 is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.8% C 0.116 H 153.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#227B47
RGBrgb(34, 123, 71)
HSLhsl(145, 57%, 31%)
HSVhsv(145, 72%, 48%)
CMYKcmyk(72.4%, 0%, 42.3%, 51.8%)
CIE-LABlab(45.58, -38.56, 21.10)
CIE-LCHlch(45.58, 43.95, 151.31°)
OKLaboklab(51.77% -0.104 0.0524)
OKLCHoklch(51.77% 0.116 153.3)
XYZxyz(8.8792, 14.9599, 8.3796)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B47 #7B2256
analogous
#297B22 #227B47 #227B73
triadic
#227B47 #47227B #7B4722
tetradic
#227B47 #22297B #7B2256 #7B7322
square
#227B47 #22297B #7B2256 #7B7322
split-complementary
#227B47 #73227B #7B2229
monochromatic
#071B10 #154B2B #227B47 #2FAB63 #4ACD81

Accessibility & contrast

On white

5.26
#227B47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#227B47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B47
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B47#FFFFFF#000000##FFFFFF
##227B471.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7143
Deuteranopia (green-blind)
#70694A
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b47;
/* rgb */ color: rgb(34, 123, 71);
/* oklch */ color: oklch(51.8% 0.116 153.3);
Tailwind
colors: {
  custom: {
    50: '#6aa27b',
    500: '#227b47',
    950: '#000000',
  },
}
SCSS
$custom: #227b47;
$custom-light: #6aa27b;
$custom-dark: #000000;
JSON
{
  "hex": "#227b47",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 71
  },
  "hsl": {
    "h": 144.944,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.11647,
    "h": 153.3
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#227B47
secondary
#AE4B85
accent
#48A1E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227B47

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

Preview Lab → · Contrast checker → · Palette generator →

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