#228B45#228B45

#228B45 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.141 H 149.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#228B45
RGBrgb(34, 139, 69)
HSLhsl(140, 61%, 34%)
HSVhsv(140, 76%, 55%)
CMYKcmyk(75.5%, 0%, 50.4%, 45.5%)
CIE-LABlab(50.96, -45.21, 29.10)
CIE-LCHlch(50.96, 53.76, 147.24°)
OKLaboklab(56.2% -0.1216 0.0708)
OKLCHoklch(56.2% 0.141 149.8)
XYZxyz(10.9656, 19.2337, 8.7636)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B45 #8B2268
analogous
#348B22 #228B45 #228B7A
triadic
#228B45 #45228B #8B4522
tetradic
#228B45 #22348B #8B2268 #8B7A22
square
#228B45 #22348B #8B2268 #8B7A22
split-complementary
#228B45 #7A228B #8B2234
monochromatic
#0A2914 #165A2D #228B45 #2EBC5D #53D57E

Accessibility & contrast

On white

4.33
#228B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#228B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B45
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B45#FFFFFF#000000##000000
##228B451.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F3F
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b45;
/* rgb */ color: rgb(34, 139, 69);
/* oklch */ color: oklch(56.2% 0.141 149.8);
Tailwind
colors: {
  custom: {
    50: '#6eae7a',
    500: '#228b45',
    950: '#000000',
  },
}
SCSS
$custom: #228b45;
$custom-light: #6eae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228b45",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 140,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.14068,
    "h": 149.8
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

primary
#228B45
secondary
#B85096
accent
#44AFE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228B45

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

Preview Lab → · Contrast checker → · Palette generator →

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