#227A4E#227A4E

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

Color values

HEX#227A4E
RGBrgb(34, 122, 78)
HSLhsl(150, 56%, 31%)
HSVhsv(150, 72%, 48%)
CMYKcmyk(72.1%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.37, -36.69, 16.82)
CIE-LCHlch(45.37, 40.36, 155.36°)
OKLaboklab(51.64% -0.0994 0.0424)
OKLCHoklch(51.64% 0.108 156.9)
XYZxyz(8.9935, 14.8082, 9.5905)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A4E #7A224E
analogous
#227A22 #227A4E #227A7A
triadic
#227A4E #4E227A #7A4E22
tetradic
#227A4E #22227A #7A224E #7A7A22
square
#227A4E #22227A #7A224E #7A7A22
split-complementary
#227A4E #7A227A #7A2222
monochromatic
#071A11 #154A2F #227A4E #2FAA6D #4ACD8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227A4E#FFFFFF#000000##FFFFFF
##227A4E1.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)
#79704B
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a4e;
/* rgb */ color: rgb(34, 122, 78);
/* oklch */ color: oklch(51.6% 0.108 156.9);
Tailwind
colors: {
  custom: {
    50: '#6aa180',
    500: '#227a4e',
    950: '#000000',
  },
}
SCSS
$custom: #227a4e;
$custom-light: #6aa180;
$custom-dark: #000000;
JSON
{
  "hex": "#227a4e",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 150,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51641,
    "c": 0.10807,
    "h": 156.9
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#227A4E
secondary
#AD4B7C
accent
#4894E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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