#228B4B#228B4B

#228B4B is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.135 H 151.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228B4B
RGBrgb(34, 139, 75)
HSLhsl(143, 61%, 34%)
HSVhsv(143, 76%, 55%)
CMYKcmyk(75.5%, 0%, 46%, 45.5%)
CIE-LABlab(51.05, -44.16, 25.99)
CIE-LCHlch(51.05, 51.24, 149.52°)
OKLaboklab(56.31% -0.1188 0.0639)
OKLCHoklch(56.31% 0.135 151.7)
XYZxyz(11.1613, 19.3120, 9.7946)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B4B #8B2262
analogous
#2D8B22 #228B4B #228B80
triadic
#228B4B #4B228B #8B4B22
tetradic
#228B4B #222D8B #8B2262 #8B8022
square
#228B4B #222D8B #8B2262 #8B8022
split-complementary
#228B4B #80228B #8B222D
monochromatic
#0A2916 #165A30 #228B4B #2EBC66 #53D585

Accessibility & contrast

On white

4.32
#228B4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#228B4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B4B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B4B#FFFFFF#000000##000000
##228B4B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F46
Deuteranopia (green-blind)
#7F764F
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b4b;
/* rgb */ color: rgb(34, 139, 75);
/* oklch */ color: oklch(56.3% 0.135 151.7);
Tailwind
colors: {
  custom: {
    50: '#6eae7e',
    500: '#228b4b',
    950: '#000000',
  },
}
SCSS
$custom: #228b4b;
$custom-light: #6eae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#228b4b",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 75
  },
  "hsl": {
    "h": 143.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.13494,
    "h": 151.7
  },
  "luminance": 0.19313
}

Semantic roles & 50–950 ramp

primary
#228B4B
secondary
#B85090
accent
#44A5E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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