#228B3D#228B3D

#228B3D is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.148 H 147.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#228B3D
RGBrgb(34, 139, 61)
HSLhsl(135, 61%, 34%)
HSVhsv(135, 76%, 55%)
CMYKcmyk(75.5%, 0%, 56.1%, 45.5%)
CIE-LABlab(50.85, -46.47, 33.12)
CIE-LCHlch(50.85, 57.07, 144.52°)
OKLaboklab(56.08% -0.1251 0.0793)
OKLCHoklch(56.08% 0.148 147.6)
XYZxyz(10.7338, 19.1410, 7.5429)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B3D #8B2270
analogous
#3B8B22 #228B3D #228B72
triadic
#228B3D #3D228B #8B3D22
tetradic
#228B3D #223B8B #8B2270 #8B7222
square
#228B3D #223B8B #8B2270 #8B7222
split-complementary
#228B3D #72228B #8B223B
monochromatic
#0A2912 #165A27 #228B3D #2EBC53 #53D574

Accessibility & contrast

On white

4.35
#228B3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#228B3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B3D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B3D#FFFFFF#000000##000000
##228B3D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E36
Deuteranopia (green-blind)
#807643
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b3d;
/* rgb */ color: rgb(34, 139, 61);
/* oklch */ color: oklch(56.1% 0.148 147.6);
Tailwind
colors: {
  custom: {
    50: '#6eae74',
    500: '#228b3d',
    950: '#000000',
  },
}
SCSS
$custom: #228b3d;
$custom-light: #6eae74;
$custom-dark: #000000;
JSON
{
  "hex": "#228b3d",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 61
  },
  "hsl": {
    "h": 135.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.14809,
    "h": 147.6
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#228B3D
secondary
#B8509E
accent
#44BBE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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