#227F5F#227F5F

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

Color values

HEX#227F5F
RGBrgb(34, 127, 95)
HSLhsl(159, 58%, 32%)
HSVhsv(159, 73%, 50%)
CMYKcmyk(73.2%, 0%, 25.2%, 50.2%)
CIE-LABlab(47.42, -34.89, 9.78)
CIE-LCHlch(47.42, 36.23, 164.34°)
OKLaboklab(53.45% -0.0962 0.025)
OKLCHoklch(53.45% 0.099 165.4)
XYZxyz(10.3135, 16.3439, 13.4354)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F5F #7F2242
analogous
#227F31 #227F5F #22717F
triadic
#227F5F #5F227F #7F5F22
tetradic
#227F5F #31227F #7F2242 #717F22
square
#227F5F #31227F #7F2242 #717F22
split-complementary
#227F5F #7F2271 #7F3122
monochromatic
#081E17 #154F3B #227F5F #2FAF83 #4CCFA2

Accessibility & contrast

On white

4.92
#227F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#227F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F5F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F5F#FFFFFF#000000##FFFFFF
##227F5F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C765D
Deuteranopia (green-blind)
#706D61
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227f5f;
/* rgb */ color: rgb(34, 127, 95);
/* oklch */ color: oklch(53.4% 0.099 165.4);
Tailwind
colors: {
  custom: {
    50: '#6ba58c',
    500: '#227f5f',
    950: '#000000',
  },
}
SCSS
$custom: #227f5f;
$custom-light: #6ba58c;
$custom-dark: #000000;
JSON
{
  "hex": "#227f5f",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 95
  },
  "hsl": {
    "h": 159.355,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.09942,
    "h": 165.4
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#227F5F
secondary
#B24B6E
accent
#477CE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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