#228062#228062

#228062 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 53.8% C 0.098 H 167.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#228062
RGBrgb(34, 128, 98)
HSLhsl(161, 58%, 32%)
HSVhsv(161, 73%, 50%)
CMYKcmyk(73.4%, 0%, 23.4%, 49.8%)
CIE-LABlab(47.83, -34.58, 8.60)
CIE-LCHlch(47.83, 35.63, 166.04°)
OKLaboklab(53.8% -0.0958 0.022)
OKLCHoklch(53.8% 0.098 167.1)
XYZxyz(10.5823, 16.6590, 14.2107)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228062 #802240
analogous
#228033 #228062 #226F80
triadic
#228062 #622280 #806222
tetradic
#228062 #332280 #802240 #6F8022
square
#228062 #332280 #802240 #6F8022
split-complementary
#228062 #80226F #803322
monochromatic
#081F18 #15503D #228062 #2FB087 #4DD0A6

Accessibility & contrast

On white

4.85
#228062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#228062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228062
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228062#FFFFFF#000000##FFFFFF
##2280621.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7760
Deuteranopia (green-blind)
#716E64
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228062;
/* rgb */ color: rgb(34, 128, 98);
/* oklch */ color: oklch(53.8% 0.098 167.1);
Tailwind
colors: {
  custom: {
    50: '#6ba58e',
    500: '#228062',
    950: '#000000',
  },
}
SCSS
$custom: #228062;
$custom-light: #6ba58e;
$custom-dark: #000000;
JSON
{
  "hex": "#228062",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 98
  },
  "hsl": {
    "h": 160.851,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.09828,
    "h": 167.1
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#228062
secondary
#B24B6C
accent
#4778E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #228062

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

Preview Lab → · Contrast checker → · Palette generator →

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