#228B36#228B36

#228B36 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.154 H 146.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#228B36
RGBrgb(34, 139, 54)
HSLhsl(131, 61%, 34%)
HSVhsv(131, 76%, 55%)
CMYKcmyk(75.5%, 0%, 61.2%, 45.5%)
CIE-LABlab(50.77, -47.45, 36.50)
CIE-LCHlch(50.77, 59.87, 142.43°)
OKLaboklab(55.98% -0.1279 0.0861)
OKLCHoklch(55.98% 0.154 146.1)
XYZxyz(10.5574, 19.0705, 6.6139)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B36 #8B2277
analogous
#428B22 #228B36 #228B6B
triadic
#228B36 #36228B #8B3622
tetradic
#228B36 #22428B #8B2277 #8B6B22
square
#228B36 #22428B #8B2277 #8B6B22
split-complementary
#228B36 #6B228B #8B2242
monochromatic
#0A2910 #165A23 #228B36 #2EBC49 #53D56B

Accessibility & contrast

On white

4.36
#228B36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#228B36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B36
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B36#FFFFFF#000000##000000
##228B361.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2D
Deuteranopia (green-blind)
#81763D
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b36;
/* rgb */ color: rgb(34, 139, 54);
/* oklch */ color: oklch(56.0% 0.154 146.1);
Tailwind
colors: {
  custom: {
    50: '#6eae70',
    500: '#228b36',
    950: '#000000',
  },
}
SCSS
$custom: #228b36;
$custom-light: #6eae70;
$custom-dark: #000000;
JSON
{
  "hex": "#228b36",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 131.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.1542,
    "h": 146.1
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#228B36
secondary
#B850A5
accent
#44C5E4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228B36

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

Preview Lab → · Contrast checker → · Palette generator →

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