#227F5D#227F5D

#227F5D is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.4% C 0.101 H 164.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#227F5D
RGBrgb(34, 127, 93)
HSLhsl(158, 58%, 32%)
HSVhsv(158, 73%, 50%)
CMYKcmyk(73.2%, 0%, 26.8%, 50.2%)
CIE-LABlab(47.38, -35.38, 10.88)
CIE-LCHlch(47.38, 37.02, 162.91°)
OKLaboklab(53.4% -0.0972 0.0278)
OKLCHoklch(53.4% 0.101 164.1)
XYZxyz(10.2237, 16.3080, 12.9627)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F5D #7F2244
analogous
#227F2F #227F5D #22737F
triadic
#227F5D #5D227F #7F5D22
tetradic
#227F5D #2F227F #7F2244 #737F22
square
#227F5D #2F227F #7F2244 #737F22
split-complementary
#227F5D #7F2273 #7F2F22
monochromatic
#081E16 #154F3A #227F5D #2FAF80 #4CCF9F

Accessibility & contrast

On white

4.93
#227F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#227F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F5D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F5D#FFFFFF#000000##FFFFFF
##227F5D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D765B
Deuteranopia (green-blind)
#716D5F
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227f5d;
/* rgb */ color: rgb(34, 127, 93);
/* oklch */ color: oklch(53.4% 0.101 164.1);
Tailwind
colors: {
  custom: {
    50: '#6ba58b',
    500: '#227f5d',
    950: '#000000',
  },
}
SCSS
$custom: #227f5d;
$custom-light: #6ba58b;
$custom-dark: #000000;
JSON
{
  "hex": "#227f5d",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 93
  },
  "hsl": {
    "h": 158.065,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53395,
    "c": 0.10114,
    "h": 164.1
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#227F5D
secondary
#B24B71
accent
#477FE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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