#228B41#228B41

#228B41 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.144 H 148.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228B41
RGBrgb(34, 139, 65)
HSLhsl(138, 61%, 34%)
HSVhsv(138, 76%, 55%)
CMYKcmyk(75.5%, 0%, 53.2%, 45.5%)
CIE-LABlab(50.90, -45.86, 31.13)
CIE-LCHlch(50.90, 55.43, 145.83°)
OKLaboklab(56.14% -0.1234 0.0751)
OKLCHoklch(56.14% 0.144 148.7)
XYZxyz(10.8456, 19.1857, 8.1316)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B41 #8B226C
analogous
#388B22 #228B41 #228B76
triadic
#228B41 #41228B #8B4122
tetradic
#228B41 #22388B #8B226C #8B7622
square
#228B41 #22388B #8B226C #8B7622
split-complementary
#228B41 #76228B #8B2238
monochromatic
#0A2913 #165A2A #228B41 #2EBC58 #53D579

Accessibility & contrast

On white

4.34
#228B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#228B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B41
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B41#FFFFFF#000000##000000
##228B411.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3B
Deuteranopia (green-blind)
#807646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b41;
/* rgb */ color: rgb(34, 139, 65);
/* oklch */ color: oklch(56.1% 0.144 148.7);
Tailwind
colors: {
  custom: {
    50: '#6eae77',
    500: '#228b41',
    950: '#000000',
  },
}
SCSS
$custom: #228b41;
$custom-light: #6eae77;
$custom-dark: #000000;
JSON
{
  "hex": "#228b41",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 137.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.14443,
    "h": 148.7
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#228B41
secondary
#B8509A
accent
#44B5E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228B41

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

Preview Lab → · Contrast checker → · Palette generator →

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