#227E5F#227E5F

#227E5F is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.2% C 0.098 H 166.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#227E5F
RGBrgb(34, 126, 95)
HSLhsl(160, 58%, 31%)
HSVhsv(160, 73%, 49%)
CMYKcmyk(73%, 0%, 24.6%, 50.6%)
CIE-LABlab(47.09, -34.44, 9.31)
CIE-LCHlch(47.09, 35.68, 164.88°)
OKLaboklab(53.17% -0.0951 0.0238)
OKLCHoklch(53.17% 0.098 166)
XYZxyz(10.1850, 16.0868, 13.3926)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E5F #7E2241
analogous
#227E31 #227E5F #226F7E
triadic
#227E5F #5F227E #7E5F22
tetradic
#227E5F #31227E #7E2241 #6F7E22
square
#227E5F #31227E #7E2241 #6F7E22
split-complementary
#227E5F #7E226F #7E3122
monochromatic
#081E16 #154E3B #227E5F #2FAE83 #4CCFA3

Accessibility & contrast

On white

4.98
#227E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#227E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E5F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E5F#FFFFFF#000000##FFFFFF
##227E5F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B755D
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227e5f;
/* rgb */ color: rgb(34, 126, 95);
/* oklch */ color: oklch(53.2% 0.098 166.0);
Tailwind
colors: {
  custom: {
    50: '#6ba48c',
    500: '#227e5f',
    950: '#000000',
  },
}
SCSS
$custom: #227e5f;
$custom-light: #6ba48c;
$custom-dark: #000000;
JSON
{
  "hex": "#227e5f",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 95
  },
  "hsl": {
    "h": 159.783,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.09807,
    "h": 166
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#227E5F
secondary
#B14B6D
accent
#477BE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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