#227B5D#227B5D

#227B5D is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.3% C 0.096 H 166.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227B5D
RGBrgb(34, 123, 93)
HSLhsl(160, 57%, 31%)
HSVhsv(160, 72%, 48%)
CMYKcmyk(72.4%, 0%, 24.4%, 51.8%)
CIE-LABlab(46.04, -33.60, 9.00)
CIE-LCHlch(46.04, 34.78, 165.01°)
OKLaboklab(52.3% -0.0929 0.023)
OKLCHoklch(52.3% 0.096 166.1)
XYZxyz(9.7174, 15.2952, 12.7939)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B5D #7B2240
analogous
#227B30 #227B5D #226C7B
triadic
#227B5D #5D227B #7B5D22
tetradic
#227B5D #30227B #7B2240 #6C7B22
square
#227B5D #30227B #7B2240 #6C7B22
split-complementary
#227B5D #7B226C #7B3022
monochromatic
#071B14 #154B39 #227B5D #2FAB81 #4ACDA1

Accessibility & contrast

On white

5.17
#227B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B5D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B5D#FFFFFF#000000##FFFFFF
##227B5D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725B
Deuteranopia (green-blind)
#6C6A5F
Tritanopia (blue-blind)
#007B73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227b5d;
/* rgb */ color: rgb(34, 123, 93);
/* oklch */ color: oklch(52.3% 0.096 166.1);
Tailwind
colors: {
  custom: {
    50: '#6aa28b',
    500: '#227b5d',
    950: '#000000',
  },
}
SCSS
$custom: #227b5d;
$custom-light: #6aa28b;
$custom-dark: #000000;
JSON
{
  "hex": "#227b5d",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 93
  },
  "hsl": {
    "h": 159.775,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52296,
    "c": 0.09568,
    "h": 166.1
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#227B5D
secondary
#AE4B6C
accent
#487BE0
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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