#228157#228157

#228157 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 53.8% C 0.109 H 159.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#228157
RGBrgb(34, 129, 87)
HSLhsl(153, 58%, 32%)
HSVhsv(153, 74%, 51%)
CMYKcmyk(73.6%, 0%, 32.6%, 49.4%)
CIE-LABlab(47.91, -37.66, 15.10)
CIE-LCHlch(47.91, 40.58, 158.15°)
OKLaboklab(53.79% -0.1025 0.0382)
OKLCHoklch(53.79% 0.109 159.5)
XYZxyz(10.2292, 16.7275, 11.7046)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228157 #81224C
analogous
#228128 #228157 #227C81
triadic
#228157 #572281 #815722
tetradic
#228157 #282281 #81224C #7C8122
square
#228157 #282281 #81224C #7C8122
split-complementary
#228157 #81227C #812822
monochromatic
#082016 #155136 #228157 #2FB178 #4DD096

Accessibility & contrast

On white

4.83
#228157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#228157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228157
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228157#FFFFFF#000000##FFFFFF
##2281571.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7754
Deuteranopia (green-blind)
#746E5A
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228157;
/* rgb */ color: rgb(34, 129, 87);
/* oklch */ color: oklch(53.8% 0.109 159.5);
Tailwind
colors: {
  custom: {
    50: '#6ba686',
    500: '#228157',
    950: '#000000',
  },
}
SCSS
$custom: #228157;
$custom-light: #6ba686;
$custom-dark: #000000;
JSON
{
  "hex": "#228157",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 87
  },
  "hsl": {
    "h": 153.474,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.10937,
    "h": 159.5
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#228157
secondary
#B34B79
accent
#468BE1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #228157

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

Preview Lab → · Contrast checker → · Palette generator →

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