#227962#227962

#227962 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.9% C 0.089 H 171.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#227962
RGBrgb(34, 121, 98)
HSLhsl(164, 56%, 30%)
HSVhsv(164, 72%, 47%)
CMYKcmyk(71.9%, 0%, 19%, 52.5%)
CIE-LABlab(45.49, -31.38, 5.27)
CIE-LCHlch(45.49, 31.82, 170.46°)
OKLaboklab(51.89% -0.0881 0.0134)
OKLCHoklch(51.89% 0.089 171.3)
XYZxyz(9.7005, 14.8956, 13.9168)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227962 #792239
analogous
#227936 #227962 #226479
triadic
#227962 #622279 #796222
tetradic
#227962 #362279 #792239 #647922
square
#227962 #362279 #792239 #647922
split-complementary
#227962 #792264 #793622
monochromatic
#071915 #15493B #227962 #2FA989 #49CCA9

Accessibility & contrast

On white

5.28
#227962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#227962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227962
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227962#FFFFFF#000000##FFFFFF
##2279621.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757161
Deuteranopia (green-blind)
#696864
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227962;
/* rgb */ color: rgb(34, 121, 98);
/* oklch */ color: oklch(51.9% 0.089 171.3);
Tailwind
colors: {
  custom: {
    50: '#6aa08e',
    500: '#227962',
    950: '#000000',
  },
}
SCSS
$custom: #227962;
$custom-light: #6aa08e;
$custom-dark: #000000;
JSON
{
  "hex": "#227962",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 98
  },
  "hsl": {
    "h": 164.138,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.08912,
    "h": 171.3
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#227962
secondary
#AC4B65
accent
#4870DF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #227962

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

Preview Lab → · Contrast checker → · Palette generator →

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