#227E54#227E54

#227E54 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.9% C 0.108 H 158.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#227E54
RGBrgb(34, 126, 84)
HSLhsl(153, 58%, 31%)
HSVhsv(153, 73%, 49%)
CMYKcmyk(73%, 0%, 33.3%, 50.6%)
CIE-LABlab(46.84, -37.06, 15.37)
CIE-LCHlch(46.84, 40.12, 157.48°)
OKLaboklab(52.89% -0.1008 0.0389)
OKLCHoklch(52.89% 0.108 158.9)
XYZxyz(9.7198, 15.9008, 10.9427)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E54 #7E224C
analogous
#227E26 #227E54 #227A7E
triadic
#227E54 #54227E #7E5422
tetradic
#227E54 #26227E #7E224C #7A7E22
square
#227E54 #26227E #7E224C #7A7E22
split-complementary
#227E54 #7E227A #7E2622
monochromatic
#081E14 #154E34 #227E54 #2FAE74 #4CCF93

Accessibility & contrast

On white

5.02
#227E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#227E54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E54
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E54#FFFFFF#000000##FFFFFF
##227E541.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7451
Deuteranopia (green-blind)
#716C57
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e54;
/* rgb */ color: rgb(34, 126, 84);
/* oklch */ color: oklch(52.9% 0.108 158.9);
Tailwind
colors: {
  custom: {
    50: '#6ba484',
    500: '#227e54',
    950: '#000000',
  },
}
SCSS
$custom: #227e54;
$custom-light: #6ba484;
$custom-dark: #000000;
JSON
{
  "hex": "#227e54",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 84
  },
  "hsl": {
    "h": 152.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52893,
    "c": 0.10798,
    "h": 158.9
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#227E54
secondary
#B14B79
accent
#478DE1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227E54

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

Preview Lab → · Contrast checker → · Palette generator →

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