#227A5D#227A5D

#227A5D is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.0% C 0.094 H 166.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#227A5D
RGBrgb(34, 122, 93)
HSLhsl(160, 56%, 31%)
HSVhsv(160, 72%, 48%)
CMYKcmyk(72.1%, 0%, 23.8%, 52.2%)
CIE-LABlab(45.70, -33.15, 8.53)
CIE-LCHlch(45.70, 34.23, 165.57°)
OKLaboklab(52.02% -0.0918 0.0218)
OKLCHoklch(52.02% 0.094 166.6)
XYZxyz(9.5939, 15.0484, 12.7528)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A5D #7A223F
analogous
#227A31 #227A5D #226B7A
triadic
#227A5D #5D227A #7A5D22
tetradic
#227A5D #31227A #7A223F #6B7A22
square
#227A5D #31227A #7A223F #6B7A22
split-complementary
#227A5D #7A226B #7A3122
monochromatic
#071A14 #154A39 #227A5D #2FAA81 #4ACDA1

Accessibility & contrast

On white

5.24
#227A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227A5D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A5D#FFFFFF#000000##FFFFFF
##227A5D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715B
Deuteranopia (green-blind)
#6B695F
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227a5d;
/* rgb */ color: rgb(34, 122, 93);
/* oklch */ color: oklch(52.0% 0.094 166.6);
Tailwind
colors: {
  custom: {
    50: '#6aa18b',
    500: '#227a5d',
    950: '#000000',
  },
}
SCSS
$custom: #227a5d;
$custom-light: #6aa18b;
$custom-dark: #000000;
JSON
{
  "hex": "#227a5d",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 93
  },
  "hsl": {
    "h": 160.227,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.09432,
    "h": 166.6
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#227A5D
secondary
#AD4B6B
accent
#487AE0
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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