#228B4C#228B4C

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

Color values

HEX#228B4C
RGBrgb(34, 139, 76)
HSLhsl(144, 61%, 34%)
HSVhsv(144, 76%, 55%)
CMYKcmyk(75.5%, 0%, 45.3%, 45.5%)
CIE-LABlab(51.07, -43.98, 25.47)
CIE-LCHlch(51.07, 50.82, 149.93°)
OKLaboklab(56.33% -0.1184 0.0628)
OKLCHoklch(56.33% 0.134 152.1)
XYZxyz(11.1958, 19.3258, 9.9763)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B4C #8B2261
analogous
#2D8B22 #228B4C #228B81
triadic
#228B4C #4C228B #8B4C22
tetradic
#228B4C #222D8B #8B2261 #8B8122
square
#228B4C #222D8B #8B2261 #8B8122
split-complementary
#228B4C #81228B #8B222D
monochromatic
#0A2916 #165A31 #228B4C #2EBC67 #53D587

Accessibility & contrast

On white

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

On black

4.87
#228B4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B4C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B4C#FFFFFF#000000##000000
##228B4C1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228b4c;
/* rgb */ color: rgb(34, 139, 76);
/* oklch */ color: oklch(56.3% 0.134 152.1);
Tailwind
colors: {
  custom: {
    50: '#6eae7f',
    500: '#228b4c',
    950: '#000000',
  },
}
SCSS
$custom: #228b4c;
$custom-light: #6eae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#228b4c",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 76
  },
  "hsl": {
    "h": 144,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.13397,
    "h": 152.1
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#228B4C
secondary
#B8508F
accent
#44A4E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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