#228B33#228B33

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

Color values

HEX#228B33
RGBrgb(34, 139, 51)
HSLhsl(130, 61%, 34%)
HSVhsv(130, 76%, 55%)
CMYKcmyk(75.5%, 0%, 63.3%, 45.5%)
CIE-LABlab(50.74, -47.83, 37.90)
CIE-LCHlch(50.74, 61.03, 141.61°)
OKLaboklab(55.95% -0.1291 0.0888)
OKLCHoklch(55.95% 0.157 145.5)
XYZxyz(10.4891, 19.0431, 6.2542)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B33 #8B227A
analogous
#468B22 #228B33 #228B68
triadic
#228B33 #33228B #8B3322
tetradic
#228B33 #22468B #8B227A #8B6822
square
#228B33 #22468B #8B227A #8B6822
split-complementary
#228B33 #68228B #8B2246
monochromatic
#0A290F #165A21 #228B33 #2EBC45 #53D568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B33#FFFFFF#000000##000000
##228B331.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)
#8D7E29
Deuteranopia (green-blind)
#81763A
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b33;
/* rgb */ color: rgb(34, 139, 51);
/* oklch */ color: oklch(55.9% 0.157 145.5);
Tailwind
colors: {
  custom: {
    50: '#6fae6e',
    500: '#228b33',
    950: '#000000',
  },
}
SCSS
$custom: #228b33;
$custom-light: #6fae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#228b33",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 51
  },
  "hsl": {
    "h": 129.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.15668,
    "h": 145.5
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

primary
#228B33
secondary
#B850A8
accent
#44CAE4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228B33

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

Preview Lab → · Contrast checker → · Palette generator →

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