#227C4F#227C4F

#227C4F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.2% C 0.110 H 156.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227C4F
RGBrgb(34, 124, 79)
HSLhsl(150, 57%, 31%)
HSVhsv(150, 73%, 49%)
CMYKcmyk(72.6%, 0%, 36.3%, 51.4%)
CIE-LABlab(46.07, -37.32, 17.19)
CIE-LCHlch(46.07, 41.09, 155.27°)
OKLaboklab(52.22% -0.1011 0.0432)
OKLCHoklch(52.22% 0.11 156.8)
XYZxyz(9.2777, 15.3189, 9.8635)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C4F #7C224F
analogous
#227C22 #227C4F #227C7C
triadic
#227C4F #4F227C #7C4F22
tetradic
#227C4F #22227C #7C224F #7C7C22
square
#227C4F #22227C #7C224F #7C7C22
split-complementary
#227C4F #7C227C #7C2222
monochromatic
#081C12 #154C30 #227C4F #2FAC6E #4BCE8C

Accessibility & contrast

On white

5.17
#227C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C4F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C4F#FFFFFF#000000##FFFFFF
##227C4F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c4f;
/* rgb */ color: rgb(34, 124, 79);
/* oklch */ color: oklch(52.2% 0.110 156.8);
Tailwind
colors: {
  custom: {
    50: '#6aa380',
    500: '#227c4f',
    950: '#000000',
  },
}
SCSS
$custom: #227c4f;
$custom-light: #6aa380;
$custom-dark: #000000;
JSON
{
  "hex": "#227c4f",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 150,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.10997,
    "h": 156.8
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#227C4F
secondary
#AF4B7D
accent
#4894E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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