#228B4E#228B4E

#228B4E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.132 H 152.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#228B4E
RGBrgb(34, 139, 78)
HSLhsl(145, 61%, 34%)
HSVhsv(145, 76%, 55%)
CMYKcmyk(75.5%, 0%, 43.9%, 45.5%)
CIE-LABlab(51.10, -43.61, 24.42)
CIE-LCHlch(51.10, 49.98, 150.75°)
OKLaboklab(56.36% -0.1174 0.0604)
OKLCHoklch(56.36% 0.132 152.8)
XYZxyz(11.2664, 19.3541, 10.3482)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B4E #8B225F
analogous
#2B8B22 #228B4E #228B83
triadic
#228B4E #4E228B #8B4E22
tetradic
#228B4E #222B8B #8B225F #8B8322
square
#228B4E #222B8B #8B225F #8B8322
split-complementary
#228B4E #83228B #8B222B
monochromatic
#0A2917 #165A32 #228B4E #2EBC6A #53D589

Accessibility & contrast

On white

4.31
#228B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B4E#FFFFFF#000000##000000
##228B4E1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228b4e;
/* rgb */ color: rgb(34, 139, 78);
/* oklch */ color: oklch(56.4% 0.132 152.8);
Tailwind
colors: {
  custom: {
    50: '#6eae80',
    500: '#228b4e',
    950: '#000000',
  },
}
SCSS
$custom: #228b4e;
$custom-light: #6eae80;
$custom-dark: #000000;
JSON
{
  "hex": "#228b4e",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 145.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.13203,
    "h": 152.8
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#228B4E
secondary
#B8508D
accent
#44A1E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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