#228158#228158

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

Color values

HEX#228158
RGBrgb(34, 129, 88)
HSLhsl(154, 58%, 32%)
HSVhsv(154, 74%, 51%)
CMYKcmyk(73.6%, 0%, 31.8%, 49.4%)
CIE-LABlab(47.94, -37.43, 14.55)
CIE-LCHlch(47.94, 40.16, 158.75°)
OKLaboklab(53.82% -0.102 0.0369)
OKLCHoklch(53.82% 0.108 160.1)
XYZxyz(10.2704, 16.7440, 11.9213)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228158 #81224B
analogous
#228129 #228158 #227B81
triadic
#228158 #582281 #815822
tetradic
#228158 #292281 #81224B #7B8122
square
#228158 #292281 #81224B #7B8122
split-complementary
#228158 #81227B #812922
monochromatic
#082016 #155137 #228158 #2FB179 #4DD098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228158#FFFFFF#000000##FFFFFF
##2281581.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)
#7F7756
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228158;
/* rgb */ color: rgb(34, 129, 88);
/* oklch */ color: oklch(53.8% 0.108 160.1);
Tailwind
colors: {
  custom: {
    50: '#6ba687',
    500: '#228158',
    950: '#000000',
  },
}
SCSS
$custom: #228158;
$custom-light: #6ba687;
$custom-dark: #000000;
JSON
{
  "hex": "#228158",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 154.105,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.10844,
    "h": 160.1
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#228158
secondary
#B34B78
accent
#4689E1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #228158

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

Preview Lab → · Contrast checker → · Palette generator →

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