#226852#226852

#226852 is a mid, moderate teal. Relative luminance 0.108; OKLCH L 46.7% C 0.079 H 168.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#226852
RGBrgb(34, 104, 82)
HSLhsl(161, 51%, 27%)
HSVhsv(161, 67%, 41%)
CMYKcmyk(67.3%, 0%, 21.2%, 59.2%)
CIE-LABlab(39.33, -27.58, 6.07)
CIE-LCHlch(39.33, 28.24, 167.59°)
OKLaboklab(46.71% -0.0769 0.0155)
OKLCHoklch(46.71% 0.079 168.6)
XYZxyz(7.1322, 10.8492, 9.6992)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226852 #682238
analogous
#22682F #226852 #225B68
triadic
#226852 #522268 #685222
tetradic
#226852 #2F2268 #682238 #5B6822
square
#226852 #2F2268 #682238 #5B6822
split-complementary
#226852 #68225B #682F22
monochromatic
#081712 #133A2E #226852 #319676 #43C29A

Accessibility & contrast

On white

6.62
#226852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#226852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226852
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226852#FFFFFF#000000##FFFFFF
##2268521.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656151
Deuteranopia (green-blind)
#5B5A53
Tritanopia (blue-blind)
#006962
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226852;
/* rgb */ color: rgb(34, 104, 82);
/* oklch */ color: oklch(46.7% 0.079 168.6);
Tailwind
colors: {
  custom: {
    50: '#669382',
    500: '#226852',
    950: '#000000',
  },
}
SCSS
$custom: #226852;
$custom-light: #669382;
$custom-dark: #000000;
JSON
{
  "hex": "#226852",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 82
  },
  "hsl": {
    "h": 161.143,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.0785,
    "h": 168.6
  },
  "luminance": 0.1085
}

Semantic roles & 50–950 ramp

primary
#226852
secondary
#9C4A64
accent
#4E7ADA
background
#F6F9F7
surface
#EBF1EE
border
#C6CBC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #226852

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

Preview Lab → · Contrast checker → · Palette generator →

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