#227852#227852

#227852 is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.2% C 0.101 H 160.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#227852
RGBrgb(34, 120, 82)
HSLhsl(153, 56%, 30%)
HSVhsv(153, 72%, 47%)
CMYKcmyk(71.7%, 0%, 31.7%, 52.9%)
CIE-LABlab(44.77, -34.92, 13.69)
CIE-LCHlch(44.77, 37.51, 158.59°)
OKLaboklab(51.18% -0.0952 0.0347)
OKLCHoklch(51.18% 0.101 160)
XYZxyz(8.8983, 14.3812, 10.2879)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227852 #782248
analogous
#227827 #227852 #227378
triadic
#227852 #522278 #785222
tetradic
#227852 #272278 #782248 #737822
square
#227852 #272278 #782248 #737822
split-complementary
#227852 #782273 #782722
monochromatic
#071911 #144831 #227852 #30A873 #49CB92

Accessibility & contrast

On white

5.42
#227852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227852
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227852#FFFFFF#000000##FFFFFF
##2278521.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#6B6754
Tritanopia (blue-blind)
#00776E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227852;
/* rgb */ color: rgb(34, 120, 82);
/* oklch */ color: oklch(51.2% 0.101 160.0);
Tailwind
colors: {
  custom: {
    50: '#69a082',
    500: '#227852',
    950: '#000000',
  },
}
SCSS
$custom: #227852;
$custom-light: #69a082;
$custom-dark: #000000;
JSON
{
  "hex": "#227852",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 82
  },
  "hsl": {
    "h": 153.488,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51179,
    "c": 0.10134,
    "h": 160
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#227852
secondary
#AB4B75
accent
#498BDF
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #227852

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

Preview Lab → · Contrast checker → · Palette generator →

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