#228A7F#228A7F

#228A7F is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.4% C 0.092 H 184.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#228A7F
RGBrgb(34, 138, 127)
HSLhsl(174, 60%, 34%)
HSVhsv(174, 75%, 54%)
CMYKcmyk(75.4%, 0%, 8%, 45.9%)
CIE-LABlab(51.89, -31.26, -2.45)
CIE-LCHlch(51.89, 31.36, 184.48°)
OKLaboklab(57.38% -0.0921 -0.0071)
OKLCHoklch(57.38% 0.092 184.4)
XYZxyz(13.5771, 20.0477, 23.2286)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A7F #8A222D
analogous
#228A4B #228A7F #22618A
triadic
#228A7F #7F228A #8A7F22
tetradic
#228A7F #4B228A #8A222D #618A22
square
#228A7F #4B228A #8A222D #618A22
split-complementary
#228A7F #8A2261 #8A4B22
monochromatic
#0A2825 #165952 #228A7F #2EBBAC #52D4C7

Accessibility & contrast

On white

4.19
#228A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#228A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A7F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A7F#FFFFFF#000000##000000
##228A7F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83827F
Deuteranopia (green-blind)
#747780
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228a7f;
/* rgb */ color: rgb(34, 138, 127);
/* oklch */ color: oklch(57.4% 0.092 184.4);
Tailwind
colors: {
  custom: {
    50: '#6fada4',
    500: '#228a7f',
    950: '#000000',
  },
}
SCSS
$custom: #228a7f;
$custom-light: #6fada4;
$custom-dark: #000000;
JSON
{
  "hex": "#228a7f",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 127
  },
  "hsl": {
    "h": 173.654,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.09235,
    "h": 184.4
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#228A7F
secondary
#B8505B
accent
#4455E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #228A7F

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

Preview Lab → · Contrast checker → · Palette generator →

#228A7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva