#228B5F#228B5F

#228B5F is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.7% C 0.116 H 160.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#228B5F
RGBrgb(34, 139, 95)
HSLhsl(155, 61%, 34%)
HSVhsv(155, 76%, 55%)
CMYKcmyk(75.5%, 0%, 31.7%, 45.5%)
CIE-LABlab(51.42, -40.06, 15.33)
CIE-LCHlch(51.42, 42.89, 159.06°)
OKLaboklab(56.73% -0.1091 0.0389)
OKLCHoklch(56.73% 0.116 160.4)
XYZxyz(11.9566, 19.6301, 13.9831)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B5F #8B224E
analogous
#228B2B #228B5F #22838B
triadic
#228B5F #5F228B #8B5F22
tetradic
#228B5F #2B228B #8B224E #838B22
square
#228B5F #2B228B #8B224E #838B22
split-complementary
#228B5F #8B2283 #8B2B22
monochromatic
#0A291C #165A3D #228B5F #2EBC81 #53D59E

Accessibility & contrast

On white

4.26
#228B5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#228B5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B5F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B5F#FFFFFF#000000##000000
##228B5F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805C
Deuteranopia (green-blind)
#7C7762
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b5f;
/* rgb */ color: rgb(34, 139, 95);
/* oklch */ color: oklch(56.7% 0.116 160.4);
Tailwind
colors: {
  custom: {
    50: '#6eae8c',
    500: '#228b5f',
    950: '#000000',
  },
}
SCSS
$custom: #228b5f;
$custom-light: #6eae8c;
$custom-dark: #000000;
JSON
{
  "hex": "#228b5f",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 95
  },
  "hsl": {
    "h": 154.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.11579,
    "h": 160.4
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#228B5F
secondary
#B8507C
accent
#4487E4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #228B5F

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

Preview Lab → · Contrast checker → · Palette generator →

#228B5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva