#227B48#227B48

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

Color values

HEX#227B48
RGBrgb(34, 123, 72)
HSLhsl(146, 57%, 31%)
HSVhsv(146, 72%, 48%)
CMYKcmyk(72.4%, 0%, 41.5%, 51.8%)
CIE-LABlab(45.60, -38.36, 20.56)
CIE-LCHlch(45.60, 43.52, 151.81°)
OKLaboklab(51.79% -0.1035 0.0512)
OKLCHoklch(51.79% 0.115 153.7)
XYZxyz(8.9116, 14.9729, 8.5500)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B48 #7B2255
analogous
#287B22 #227B48 #227B74
triadic
#227B48 #48227B #7B4822
tetradic
#227B48 #22287B #7B2255 #7B7422
square
#227B48 #22287B #7B2255 #7B7422
split-complementary
#227B48 #74227B #7B2228
monochromatic
#071B10 #154B2C #227B48 #2FAB64 #4ACD82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227B48#FFFFFF#000000##FFFFFF
##227B481.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)
#7B7144
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b48;
/* rgb */ color: rgb(34, 123, 72);
/* oklch */ color: oklch(51.8% 0.115 153.7);
Tailwind
colors: {
  custom: {
    50: '#6aa27b',
    500: '#227b48',
    950: '#000000',
  },
}
SCSS
$custom: #227b48;
$custom-light: #6aa27b;
$custom-dark: #000000;
JSON
{
  "hex": "#227b48",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 72
  },
  "hsl": {
    "h": 145.618,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.11547,
    "h": 153.7
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#227B48
secondary
#AE4B84
accent
#489FE0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227B48

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

Preview Lab → · Contrast checker → · Palette generator →

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