#228E19#228E19

#228E19 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.177 H 142.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228E19
RGBrgb(34, 142, 25)
HSLhsl(115, 70%, 33%)
HSVhsv(115, 82%, 56%)
CMYKcmyk(76.1%, 0%, 82.4%, 44.3%)
CIE-LABlab(51.56, -51.23, 49.02)
CIE-LCHlch(51.56, 70.91, 136.27°)
OKLaboklab(56.57% -0.1395 0.1089)
OKLCHoklch(56.57% 0.177 142)
XYZxyz(10.5075, 19.7551, 4.1789)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E19 #85198E
analogous
#5C8E19 #228E19 #198E4B
triadic
#228E19 #19228E #8E1922
tetradic
#228E19 #195C8E #85198E #8E4B19
square
#228E19 #195C8E #85198E #8E4B19
split-complementary
#228E19 #4B198E #8E195C
monochromatic
#092607 #165A10 #228E19 #2EC222 #4FDE43

Accessibility & contrast

On white

4.24
#228E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#228E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E19
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E19#FFFFFF#000000##000000
##228E191.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e19;
/* rgb */ color: rgb(34, 142, 25);
/* oklch */ color: oklch(56.6% 0.177 142.0);
Tailwind
colors: {
  custom: {
    50: '#71b061',
    500: '#228e19',
    950: '#000000',
  },
}
SCSS
$custom: #228e19;
$custom-light: #71b061;
$custom-dark: #000000;
JSON
{
  "hex": "#228e19",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 115.385,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.17697,
    "h": 142
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#228E19
secondary
#B644BF
accent
#3BEDDF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #228E19

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

Preview Lab → · Contrast checker → · Palette generator →

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