#228B56#228B56

#228B56 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.124 H 156.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228B56
RGBrgb(34, 139, 86)
HSLhsl(150, 61%, 34%)
HSVhsv(150, 76%, 55%)
CMYKcmyk(75.5%, 0%, 38.1%, 45.5%)
CIE-LABlab(51.24, -42.02, 20.17)
CIE-LCHlch(51.24, 46.61, 154.36°)
OKLaboklab(56.53% -0.1135 0.0505)
OKLCHoklch(56.53% 0.124 156)
XYZxyz(11.5709, 19.4759, 11.9517)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B56 #8B2257
analogous
#238B22 #228B56 #228B8B
triadic
#228B56 #56228B #8B5622
tetradic
#228B56 #22238B #8B2257 #8B8B22
square
#228B56 #22238B #8B2257 #8B8B22
split-complementary
#228B56 #8B228B #8B2223
monochromatic
#0A2919 #165A38 #228B56 #2EBC74 #53D593

Accessibility & contrast

On white

4.29
#228B56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#228B56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B56
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B56#FFFFFF#000000##000000
##228B561.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8052
Deuteranopia (green-blind)
#7E7659
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b56;
/* rgb */ color: rgb(34, 139, 86);
/* oklch */ color: oklch(56.5% 0.124 156.0);
Tailwind
colors: {
  custom: {
    50: '#6eae86',
    500: '#228b56',
    950: '#000000',
  },
}
SCSS
$custom: #228b56;
$custom-light: #6eae86;
$custom-dark: #000000;
JSON
{
  "hex": "#228b56",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 86
  },
  "hsl": {
    "h": 149.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56525,
    "c": 0.12428,
    "h": 156
  },
  "luminance": 0.19477
}

Semantic roles & 50–950 ramp

primary
#228B56
secondary
#B85085
accent
#4495E4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228B56

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

Preview Lab → · Contrast checker → · Palette generator →

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