#227952#227952

#227952 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.5% C 0.103 H 159.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#227952
RGBrgb(34, 121, 82)
HSLhsl(153, 56%, 30%)
HSVhsv(153, 72%, 47%)
CMYKcmyk(71.9%, 0%, 32.2%, 52.5%)
CIE-LABlab(45.11, -35.36, 14.16)
CIE-LCHlch(45.11, 38.09, 158.18°)
OKLaboklab(51.46% -0.0963 0.0359)
OKLCHoklch(51.46% 0.103 159.6)
XYZxyz(9.0192, 14.6230, 10.3282)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227952 #792249
analogous
#227926 #227952 #227579
triadic
#227952 #522279 #795222
tetradic
#227952 #262279 #792249 #757922
square
#227952 #262279 #792249 #757922
split-complementary
#227952 #792275 #792622
monochromatic
#071911 #154932 #227952 #2FA972 #49CC91

Accessibility & contrast

On white

5.35
#227952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#227952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227952
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227952#FFFFFF#000000##FFFFFF
##2279521.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#6C6855
Tritanopia (blue-blind)
#00786F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227952;
/* rgb */ color: rgb(34, 121, 82);
/* oklch */ color: oklch(51.5% 0.103 159.6);
Tailwind
colors: {
  custom: {
    50: '#6aa082',
    500: '#227952',
    950: '#000000',
  },
}
SCSS
$custom: #227952;
$custom-light: #6aa082;
$custom-dark: #000000;
JSON
{
  "hex": "#227952",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 82
  },
  "hsl": {
    "h": 153.103,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.10277,
    "h": 159.6
  },
  "luminance": 0.14624
}

Semantic roles & 50–950 ramp

primary
#227952
secondary
#AC4B76
accent
#488CDF
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #227952

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

Preview Lab → · Contrast checker → · Palette generator →

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