#228051#228051

#228051 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.4% C 0.114 H 156.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228051
RGBrgb(34, 128, 81)
HSLhsl(150, 58%, 32%)
HSVhsv(150, 73%, 50%)
CMYKcmyk(73.4%, 0%, 36.7%, 49.8%)
CIE-LABlab(47.46, -38.57, 17.92)
CIE-LCHlch(47.46, 42.53, 155.08°)
OKLaboklab(53.38% -0.1044 0.045)
OKLCHoklch(53.38% 0.114 156.7)
XYZxyz(9.8631, 16.3714, 10.4232)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228051 #802251
analogous
#228022 #228051 #228080
triadic
#228051 #512280 #805122
tetradic
#228051 #222280 #802251 #808022
square
#228051 #222280 #802251 #808022
split-complementary
#228051 #802280 #802222
monochromatic
#081F14 #155032 #228051 #2FB070 #4DD08E

Accessibility & contrast

On white

4.91
#228051 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#228051 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228051
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228051#FFFFFF#000000##FFFFFF
##2280511.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F764E
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228051;
/* rgb */ color: rgb(34, 128, 81);
/* oklch */ color: oklch(53.4% 0.114 156.7);
Tailwind
colors: {
  custom: {
    50: '#6ba682',
    500: '#228051',
    950: '#000000',
  },
}
SCSS
$custom: #228051;
$custom-light: #6ba682;
$custom-dark: #000000;
JSON
{
  "hex": "#228051",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 81
  },
  "hsl": {
    "h": 150,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.11371,
    "h": 156.7
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#228051
secondary
#B24B7F
accent
#4794E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #228051

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

Preview Lab → · Contrast checker → · Palette generator →

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