#227A4F#227A4F

#227A4F is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.107 H 157.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#227A4F
RGBrgb(34, 122, 79)
HSLhsl(151, 56%, 31%)
HSVhsv(151, 72%, 48%)
CMYKcmyk(72.1%, 0%, 35.2%, 52.2%)
CIE-LABlab(45.39, -36.47, 16.27)
CIE-LCHlch(45.39, 39.93, 155.95°)
OKLaboklab(51.66% -0.0989 0.041)
OKLCHoklch(51.66% 0.107 157.5)
XYZxyz(9.0296, 14.8227, 9.7808)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A4F #7A224D
analogous
#227A23 #227A4F #22797A
triadic
#227A4F #4F227A #7A4F22
tetradic
#227A4F #23227A #7A224D #797A22
square
#227A4F #23227A #7A224D #797A22
split-complementary
#227A4F #7A2279 #7A2322
monochromatic
#071A11 #154A30 #227A4F #2FAA6E #4ACD8D

Accessibility & contrast

On white

5.30
#227A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#227A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A4F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A4F#FFFFFF#000000##FFFFFF
##227A4F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704C
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a4f;
/* rgb */ color: rgb(34, 122, 79);
/* oklch */ color: oklch(51.7% 0.107 157.5);
Tailwind
colors: {
  custom: {
    50: '#6aa180',
    500: '#227a4f',
    950: '#000000',
  },
}
SCSS
$custom: #227a4f;
$custom-light: #6aa180;
$custom-dark: #000000;
JSON
{
  "hex": "#227a4f",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 150.682,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.1071,
    "h": 157.5
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#227A4F
secondary
#AD4B7B
accent
#4892E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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