#227256#227256

#227256 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.6% C 0.089 H 165.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#227256
RGBrgb(34, 114, 86)
HSLhsl(159, 54%, 29%)
HSVhsv(159, 70%, 45%)
CMYKcmyk(70.2%, 0%, 24.6%, 55.3%)
CIE-LABlab(42.83, -31.26, 8.63)
CIE-LCHlch(42.83, 32.43, 164.57°)
OKLaboklab(49.62% -0.0864 0.0221)
OKLCHoklch(49.62% 0.089 165.7)
XYZxyz(8.3558, 13.0457, 10.8800)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227256 #72223E
analogous
#22722E #227256 #226672
triadic
#227256 #562272 #725622
tetradic
#227256 #2E2272 #72223E #667222
square
#227256 #2E2272 #72223E #667222
split-complementary
#227256 #722266 #722E22
monochromatic
#071812 #144332 #227256 #30A17A #46C89B

Accessibility & contrast

On white

5.82
#227256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#227256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227256
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227256#FFFFFF#000000##FFFFFF
##2272561.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A54
Deuteranopia (green-blind)
#656258
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227256;
/* rgb */ color: rgb(34, 114, 86);
/* oklch */ color: oklch(49.6% 0.089 165.7);
Tailwind
colors: {
  custom: {
    50: '#689b85',
    500: '#227256',
    950: '#000000',
  },
}
SCSS
$custom: #227256;
$custom-light: #689b85;
$custom-dark: #000000;
JSON
{
  "hex": "#227256",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 86
  },
  "hsl": {
    "h": 159,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49616,
    "c": 0.08919,
    "h": 165.7
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#227256
secondary
#A54B6A
accent
#4A7EDD
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #227256

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

Preview Lab → · Contrast checker → · Palette generator →

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