#227B4F#227B4F

#227B4F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.109 H 157.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#227B4F
RGBrgb(34, 123, 79)
HSLhsl(150, 57%, 31%)
HSVhsv(150, 72%, 48%)
CMYKcmyk(72.4%, 0%, 35.8%, 51.8%)
CIE-LABlab(45.73, -36.89, 16.73)
CIE-LCHlch(45.73, 40.51, 155.60°)
OKLaboklab(51.94% -0.1 0.0421)
OKLCHoklch(51.94% 0.109 157.2)
XYZxyz(9.1531, 15.0695, 9.8219)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B4F #7B224E
analogous
#227B22 #227B4F #227A7B
triadic
#227B4F #4F227B #7B4F22
tetradic
#227B4F #22227B #7B224E #7A7B22
square
#227B4F #22227B #7B224E #7A7B22
split-complementary
#227B4F #7B227A #7B2222
monochromatic
#071B11 #154B30 #227B4F #2FAB6E #4ACD8C

Accessibility & contrast

On white

5.23
#227B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227B4F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B4F#FFFFFF#000000##FFFFFF
##227B4F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714C
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b4f;
/* rgb */ color: rgb(34, 123, 79);
/* oklch */ color: oklch(51.9% 0.109 157.2);
Tailwind
colors: {
  custom: {
    50: '#6aa280',
    500: '#227b4f',
    950: '#000000',
  },
}
SCSS
$custom: #227b4f;
$custom-light: #6aa280;
$custom-dark: #000000;
JSON
{
  "hex": "#227b4f",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 150.337,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.10853,
    "h": 157.2
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#227B4F
secondary
#AE4B7C
accent
#4893E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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