#227950#227950

#227950 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.105 H 158.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#227950
RGBrgb(34, 121, 80)
HSLhsl(152, 56%, 30%)
HSVhsv(152, 72%, 47%)
CMYKcmyk(71.9%, 0%, 33.9%, 52.5%)
CIE-LABlab(45.07, -35.82, 15.26)
CIE-LCHlch(45.07, 38.93, 156.92°)
OKLaboklab(51.41% -0.0973 0.0386)
OKLCHoklch(51.41% 0.105 158.4)
XYZxyz(8.9442, 14.5930, 9.9332)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227950 #79224B
analogous
#227924 #227950 #227679
triadic
#227950 #502279 #795022
tetradic
#227950 #242279 #79224B #767922
square
#227950 #242279 #79224B #767922
split-complementary
#227950 #792276 #792422
monochromatic
#071911 #154930 #227950 #2FA970 #49CC8E

Accessibility & contrast

On white

5.36
#227950 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#227950 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227950
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227950#FFFFFF#000000##FFFFFF
##2279501.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4D
Deuteranopia (green-blind)
#6D6753
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227950;
/* rgb */ color: rgb(34, 121, 80);
/* oklch */ color: oklch(51.4% 0.105 158.4);
Tailwind
colors: {
  custom: {
    50: '#6aa081',
    500: '#227950',
    950: '#000000',
  },
}
SCSS
$custom: #227950;
$custom-light: #6aa081;
$custom-dark: #000000;
JSON
{
  "hex": "#227950",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 80
  },
  "hsl": {
    "h": 151.724,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51409,
    "c": 0.10468,
    "h": 158.4
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#227950
secondary
#AC4B79
accent
#4890DF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #227950

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

Preview Lab → · Contrast checker → · Palette generator →

#227950 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva