#227E5B#227E5B

#227E5B is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.1% C 0.102 H 163.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#227E5B
RGBrgb(34, 126, 91)
HSLhsl(157, 58%, 31%)
HSVhsv(157, 73%, 49%)
CMYKcmyk(73%, 0%, 27.8%, 50.6%)
CIE-LABlab(47.00, -35.43, 11.51)
CIE-LCHlch(47.00, 37.25, 161.99°)
OKLaboklab(53.07% -0.0972 0.0294)
OKLCHoklch(53.07% 0.102 163.2)
XYZxyz(10.0078, 16.0160, 12.4595)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E5B #7E2245
analogous
#227E2D #227E5B #22737E
triadic
#227E5B #5B227E #7E5B22
tetradic
#227E5B #2D227E #7E2245 #737E22
square
#227E5B #2D227E #7E2245 #737E22
split-complementary
#227E5B #7E2273 #7E2D22
monochromatic
#081E15 #154E38 #227E5B #2FAE7E #4CCF9D

Accessibility & contrast

On white

5.00
#227E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#227E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E5B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E5B#FFFFFF#000000##FFFFFF
##227E5B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7459
Deuteranopia (green-blind)
#706C5D
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e5b;
/* rgb */ color: rgb(34, 126, 91);
/* oklch */ color: oklch(53.1% 0.102 163.2);
Tailwind
colors: {
  custom: {
    50: '#6ba489',
    500: '#227e5b',
    950: '#000000',
  },
}
SCSS
$custom: #227e5b;
$custom-light: #6ba489;
$custom-dark: #000000;
JSON
{
  "hex": "#227e5b",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 91
  },
  "hsl": {
    "h": 157.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.10152,
    "h": 163.2
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#227E5B
secondary
#B14B72
accent
#4782E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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