#228B34#228B34

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

Color values

HEX#228B34
RGBrgb(34, 139, 52)
HSLhsl(130, 61%, 34%)
HSVhsv(130, 76%, 55%)
CMYKcmyk(75.5%, 0%, 62.6%, 45.5%)
CIE-LABlab(50.75, -47.71, 37.44)
CIE-LCHlch(50.75, 60.64, 141.88°)
OKLaboklab(55.96% -0.1287 0.0879)
OKLCHoklch(55.96% 0.156 145.7)
XYZxyz(10.5114, 19.0520, 6.3716)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B34 #8B2279
analogous
#458B22 #228B34 #228B69
triadic
#228B34 #34228B #8B3422
tetradic
#228B34 #22458B #8B2279 #8B6922
square
#228B34 #22458B #8B2279 #8B6922
split-complementary
#228B34 #69228B #8B2245
monochromatic
#0A290F #165A22 #228B34 #2EBC46 #53D569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B34#FFFFFF#000000##000000
##228B341.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2A
Deuteranopia (green-blind)
#81763B
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b34;
/* rgb */ color: rgb(34, 139, 52);
/* oklch */ color: oklch(56.0% 0.156 145.7);
Tailwind
colors: {
  custom: {
    50: '#6eae6f',
    500: '#228b34',
    950: '#000000',
  },
}
SCSS
$custom: #228b34;
$custom-light: #6eae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#228b34",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 130.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.15586,
    "h": 145.7
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#228B34
secondary
#B850A7
accent
#44C8E4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228B34

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

Preview Lab → · Contrast checker → · Palette generator →

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