#228B2E#228B2E

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

Color values

HEX#228B2E
RGBrgb(34, 139, 46)
HSLhsl(127, 61%, 34%)
HSVhsv(127, 76%, 55%)
CMYKcmyk(75.5%, 0%, 66.9%, 45.5%)
CIE-LABlab(50.69, -48.42, 40.14)
CIE-LCHlch(50.69, 62.90, 140.34°)
OKLaboklab(55.89% -0.1309 0.0931)
OKLCHoklch(55.89% 0.161 144.6)
XYZxyz(10.3848, 19.0014, 5.7046)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B2E #8B227F
analogous
#4B8B22 #228B2E #228B63
triadic
#228B2E #2E228B #8B2E22
tetradic
#228B2E #224B8B #8B227F #8B6322
square
#228B2E #224B8B #8B227F #8B6322
split-complementary
#228B2E #63228B #8B224B
monochromatic
#0A290D #165A1E #228B2E #2EBC3E #53D561

Accessibility & contrast

On white

4.37
#228B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B2E#FFFFFF#000000##000000
##228B2E1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228b2e;
/* rgb */ color: rgb(34, 139, 46);
/* oklch */ color: oklch(55.9% 0.161 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fae6b',
    500: '#228b2e',
    950: '#000000',
  },
}
SCSS
$custom: #228b2e;
$custom-light: #6fae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#228b2e",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 126.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.16061,
    "h": 144.6
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#228B2E
secondary
#B850AD
accent
#44D2E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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