#228B3C#228B3C

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

Color values

HEX#228B3C
RGBrgb(34, 139, 60)
HSLhsl(135, 61%, 34%)
HSVhsv(135, 76%, 55%)
CMYKcmyk(75.5%, 0%, 56.8%, 45.5%)
CIE-LABlab(50.84, -46.62, 33.61)
CIE-LCHlch(50.84, 57.47, 144.21°)
OKLaboklab(56.06% -0.1255 0.0803)
OKLCHoklch(56.06% 0.149 147.4)
XYZxyz(10.7071, 19.1303, 7.4023)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B3C #8B2271
analogous
#3D8B22 #228B3C #228B71
triadic
#228B3C #3C228B #8B3C22
tetradic
#228B3C #223D8B #8B2271 #8B7122
square
#228B3C #223D8B #8B2271 #8B7122
split-complementary
#228B3C #71228B #8B223D
monochromatic
#0A2912 #165A27 #228B3C #2EBC51 #53D573

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B3C#FFFFFF#000000##000000
##228B3C1.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)
#8D7E35
Deuteranopia (green-blind)
#817642
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b3c;
/* rgb */ color: rgb(34, 139, 60);
/* oklch */ color: oklch(56.1% 0.149 147.4);
Tailwind
colors: {
  custom: {
    50: '#6eae74',
    500: '#228b3c',
    950: '#000000',
  },
}
SCSS
$custom: #228b3c;
$custom-light: #6eae74;
$custom-dark: #000000;
JSON
{
  "hex": "#228b3c",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 60
  },
  "hsl": {
    "h": 134.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56064,
    "c": 0.14899,
    "h": 147.4
  },
  "luminance": 0.19132
}

Semantic roles & 50–950 ramp

primary
#228B3C
secondary
#B8509F
accent
#44BCE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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