#228B2D#228B2D

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

Color values

HEX#228B2D
RGBrgb(34, 139, 45)
HSLhsl(126, 61%, 34%)
HSVhsv(126, 76%, 55%)
CMYKcmyk(75.5%, 0%, 67.6%, 45.5%)
CIE-LABlab(50.68, -48.53, 40.58)
CIE-LCHlch(50.68, 63.26, 140.10°)
OKLaboklab(55.88% -0.1312 0.0939)
OKLCHoklch(55.88% 0.161 144.4)
XYZxyz(10.3653, 18.9936, 5.6020)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B2D #8B2280
analogous
#4C8B22 #228B2D #228B62
triadic
#228B2D #2D228B #8B2D22
tetradic
#228B2D #224C8B #8B2280 #8B6222
square
#228B2D #224C8B #8B2280 #8B6222
split-complementary
#228B2D #62228B #8B224C
monochromatic
#0A290D #165A1D #228B2D #2EBC3D #53D560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B2D#FFFFFF#000000##000000
##228B2D1.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)
#8E7E21
Deuteranopia (green-blind)
#827536
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b2d;
/* rgb */ color: rgb(34, 139, 45);
/* oklch */ color: oklch(55.9% 0.161 144.4);
Tailwind
colors: {
  custom: {
    50: '#6fae6a',
    500: '#228b2d',
    950: '#000000',
  },
}
SCSS
$custom: #228b2d;
$custom-light: #6fae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#228b2d",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 126.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.16135,
    "h": 144.4
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#228B2D
secondary
#B850AE
accent
#44D3E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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