#228B2C#228B2C

#228B2C is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.162 H 144.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#228B2C
RGBrgb(34, 139, 44)
HSLhsl(126, 61%, 34%)
HSVhsv(126, 76%, 55%)
CMYKcmyk(75.5%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.67, -48.64, 41.01)
CIE-LCHlch(50.67, 63.62, 139.86°)
OKLaboklab(55.87% -0.1315 0.0947)
OKLCHoklch(55.87% 0.162 144.3)
XYZxyz(10.3462, 18.9860, 5.5018)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B2C #8B2281
analogous
#4D8B22 #228B2C #228B61
triadic
#228B2C #2C228B #8B2C22
tetradic
#228B2C #224D8B #8B2281 #8B6122
square
#228B2C #224D8B #8B2281 #8B6122
split-complementary
#228B2C #61228B #8B224D
monochromatic
#0A290D #165A1C #228B2C #2EBC3C #53D55F

Accessibility & contrast

On white

4.38
#228B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#228B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B2C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B2C#FFFFFF#000000##000000
##228B2C1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b2c;
/* rgb */ color: rgb(34, 139, 44);
/* oklch */ color: oklch(55.9% 0.162 144.3);
Tailwind
colors: {
  custom: {
    50: '#6fae6a',
    500: '#228b2c',
    950: '#000000',
  },
}
SCSS
$custom: #228b2c;
$custom-light: #6fae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#228b2c",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 125.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.16209,
    "h": 144.3
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#228B2C
secondary
#B850AF
accent
#44D5E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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