#228162#228162

#228162 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.1% C 0.100 H 166.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#228162
RGBrgb(34, 129, 98)
HSLhsl(160, 58%, 32%)
HSVhsv(160, 74%, 51%)
CMYKcmyk(73.6%, 0%, 24%, 49.4%)
CIE-LABlab(48.16, -35.03, 9.07)
CIE-LCHlch(48.16, 36.18, 165.48°)
OKLaboklab(54.08% -0.0969 0.0232)
OKLCHoklch(54.08% 0.1 166.5)
XYZxyz(10.7134, 16.9212, 14.2544)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228162 #812241
analogous
#228133 #228162 #227181
triadic
#228162 #622281 #816222
tetradic
#228162 #332281 #812241 #718122
square
#228162 #332281 #812241 #718122
split-complementary
#228162 #812271 #813322
monochromatic
#082018 #15513D #228162 #2FB187 #4DD0A5

Accessibility & contrast

On white

4.79
#228162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#228162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228162
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228162#FFFFFF#000000##FFFFFF
##2281621.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7860
Deuteranopia (green-blind)
#726F64
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228162;
/* rgb */ color: rgb(34, 129, 98);
/* oklch */ color: oklch(54.1% 0.100 166.5);
Tailwind
colors: {
  custom: {
    50: '#6ca68e',
    500: '#228162',
    950: '#000000',
  },
}
SCSS
$custom: #228162;
$custom-light: #6ca68e;
$custom-dark: #000000;
JSON
{
  "hex": "#228162",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 160.421,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54077,
    "c": 0.09961,
    "h": 166.5
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#228162
secondary
#B34B6D
accent
#4679E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #228162

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

Preview Lab → · Contrast checker → · Palette generator →

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