#227A5E#227A5E

#227A5E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.093 H 167.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#227A5E
RGBrgb(34, 122, 94)
HSLhsl(161, 56%, 31%)
HSVhsv(161, 72%, 48%)
CMYKcmyk(72.1%, 0%, 23%, 52.2%)
CIE-LABlab(45.72, -32.89, 7.97)
CIE-LCHlch(45.72, 33.84, 166.38°)
OKLaboklab(52.05% -0.0912 0.0204)
OKLCHoklch(52.05% 0.094 167.4)
XYZxyz(9.6385, 15.0662, 12.9876)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A5E #7A223E
analogous
#227A32 #227A5E #226A7A
triadic
#227A5E #5E227A #7A5E22
tetradic
#227A5E #32227A #7A223E #6A7A22
square
#227A5E #32227A #7A223E #6A7A22
split-complementary
#227A5E #7A226A #7A3222
monochromatic
#071A14 #154A39 #227A5E #2FAA83 #4ACDA3

Accessibility & contrast

On white

5.23
#227A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#227A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A5E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A5E#FFFFFF#000000##FFFFFF
##227A5E1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715D
Deuteranopia (green-blind)
#6B6960
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227a5e;
/* rgb */ color: rgb(34, 122, 94);
/* oklch */ color: oklch(52.0% 0.093 167.4);
Tailwind
colors: {
  custom: {
    50: '#6aa18b',
    500: '#227a5e',
    950: '#000000',
  },
}
SCSS
$custom: #227a5e;
$custom-light: #6aa18b;
$custom-dark: #000000;
JSON
{
  "hex": "#227a5e",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 160.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.0935,
    "h": 167.4
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#227A5E
secondary
#AD4B6A
accent
#4878E0
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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