#228B19#228B19

#228B19 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.174 H 142.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228B19
RGBrgb(34, 139, 25)
HSLhsl(115, 70%, 32%)
HSVhsv(115, 82%, 55%)
CMYKcmyk(75.5%, 0%, 82%, 45.5%)
CIE-LABlab(50.54, -50.24, 48.06)
CIE-LCHlch(50.54, 69.53, 136.27°)
OKLaboklab(55.72% -0.1368 0.1069)
OKLCHoklch(55.72% 0.174 142)
XYZxyz(10.0672, 18.8744, 4.0321)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B19 #82198B
analogous
#5B8B19 #228B19 #198B49
triadic
#228B19 #19228B #8B1922
tetradic
#228B19 #195B8B #82198B #8B4919
square
#228B19 #195B8B #82198B #8B4919
split-complementary
#228B19 #49198B #8B195B
monochromatic
#092306 #155710 #228B19 #2FBF22 #4EDD41

Accessibility & contrast

On white

4.40
#228B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#228B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B19
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B19#FFFFFF#000000##000000
##228B191.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228b19;
/* rgb */ color: rgb(34, 139, 25);
/* oklch */ color: oklch(55.7% 0.174 142.0);
Tailwind
colors: {
  custom: {
    50: '#70ae60',
    500: '#228b19',
    950: '#000000',
  },
}
SCSS
$custom: #228b19;
$custom-light: #70ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#228b19",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 115.263,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.17362,
    "h": 142
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#228B19
secondary
#B442BE
accent
#3BECDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #228B19

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

Preview Lab → · Contrast checker → · Palette generator →

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