#227C5F#227C5F

#227C5F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.6% C 0.095 H 167.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#227C5F
RGBrgb(34, 124, 95)
HSLhsl(161, 57%, 31%)
HSVhsv(161, 73%, 49%)
CMYKcmyk(72.6%, 0%, 23.4%, 51.4%)
CIE-LABlab(46.42, -33.54, 8.37)
CIE-LCHlch(46.42, 34.57, 166.00°)
OKLaboklab(52.63% -0.0929 0.0214)
OKLCHoklch(52.63% 0.095 167)
XYZxyz(9.9318, 15.5805, 13.3082)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C5F #7C223F
analogous
#227C32 #227C5F #226C7C
triadic
#227C5F #5F227C #7C5F22
tetradic
#227C5F #32227C #7C223F #6C7C22
square
#227C5F #32227C #7C223F #6C7C22
split-complementary
#227C5F #7C226C #7C3222
monochromatic
#081C15 #154C3A #227C5F #2FAC84 #4BCEA3

Accessibility & contrast

On white

5.10
#227C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#227C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C5F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C5F#FFFFFF#000000##FFFFFF
##227C5F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735D
Deuteranopia (green-blind)
#6D6A61
Tritanopia (blue-blind)
#007C74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227c5f;
/* rgb */ color: rgb(34, 124, 95);
/* oklch */ color: oklch(52.6% 0.095 167.0);
Tailwind
colors: {
  custom: {
    50: '#6aa28c',
    500: '#227c5f',
    950: '#000000',
  },
}
SCSS
$custom: #227c5f;
$custom-light: #6aa28c;
$custom-dark: #000000;
JSON
{
  "hex": "#227c5f",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 95
  },
  "hsl": {
    "h": 160.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.09538,
    "h": 167
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#227C5F
secondary
#AF4B6B
accent
#4879E0
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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