#228B4D#228B4D

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

Color values

HEX#228B4D
RGBrgb(34, 139, 77)
HSLhsl(145, 61%, 34%)
HSVhsv(145, 76%, 55%)
CMYKcmyk(75.5%, 0%, 44.6%, 45.5%)
CIE-LABlab(51.08, -43.79, 24.94)
CIE-LCHlch(51.08, 50.40, 150.34°)
OKLaboklab(56.34% -0.1179 0.0616)
OKLCHoklch(56.34% 0.133 152.4)
XYZxyz(11.2309, 19.3398, 10.1608)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B4D #8B2260
analogous
#2C8B22 #228B4D #228B82
triadic
#228B4D #4D228B #8B4D22
tetradic
#228B4D #222C8B #8B2260 #8B8222
square
#228B4D #222C8B #8B2260 #8B8222
split-complementary
#228B4D #82228B #8B222C
monochromatic
#0A2917 #165A32 #228B4D #2EBC68 #53D588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B4D#FFFFFF#000000##000000
##228B4D1.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)
#8B7F48
Deuteranopia (green-blind)
#7F7651
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b4d;
/* rgb */ color: rgb(34, 139, 77);
/* oklch */ color: oklch(56.3% 0.133 152.4);
Tailwind
colors: {
  custom: {
    50: '#6eae7f',
    500: '#228b4d',
    950: '#000000',
  },
}
SCSS
$custom: #228b4d;
$custom-light: #6eae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#228b4d",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 77
  },
  "hsl": {
    "h": 144.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.13299,
    "h": 152.4
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#228B4D
secondary
#B8508E
accent
#44A2E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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