#227850#227850

#227850 is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.1% C 0.103 H 158.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#227850
RGBrgb(34, 120, 80)
HSLhsl(152, 56%, 30%)
HSVhsv(152, 72%, 47%)
CMYKcmyk(71.7%, 0%, 33.3%, 52.9%)
CIE-LABlab(44.73, -35.38, 14.80)
CIE-LCHlch(44.73, 38.35, 157.30°)
OKLaboklab(51.13% -0.0962 0.0374)
OKLCHoklch(51.13% 0.103 158.7)
XYZxyz(8.8233, 14.3512, 9.8929)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227850 #78224A
analogous
#227825 #227850 #227578
triadic
#227850 #502278 #785022
tetradic
#227850 #252278 #78224A #757822
square
#227850 #252278 #78224A #757822
split-complementary
#227850 #782275 #782522
monochromatic
#071910 #144830 #227850 #30A870 #49CB8F

Accessibility & contrast

On white

5.43
#227850 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#227850 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227850
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227850#FFFFFF#000000##FFFFFF
##2278501.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4E
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#00776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227850;
/* rgb */ color: rgb(34, 120, 80);
/* oklch */ color: oklch(51.1% 0.103 158.7);
Tailwind
colors: {
  custom: {
    50: '#69a081',
    500: '#227850',
    950: '#000000',
  },
}
SCSS
$custom: #227850;
$custom-light: #69a081;
$custom-dark: #000000;
JSON
{
  "hex": "#227850",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 80
  },
  "hsl": {
    "h": 152.093,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.10325,
    "h": 158.7
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#227850
secondary
#AB4B78
accent
#498FDF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #227850

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

Preview Lab → · Contrast checker → · Palette generator →

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