#228D19#228D19

#228D19 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.176 H 142.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#228D19
RGBrgb(34, 141, 25)
HSLhsl(115, 70%, 33%)
HSVhsv(115, 82%, 55%)
CMYKcmyk(75.9%, 0%, 82.3%, 44.7%)
CIE-LABlab(51.22, -50.90, 48.70)
CIE-LCHlch(51.22, 70.45, 136.27°)
OKLaboklab(56.28% -0.1386 0.1082)
OKLCHoklch(56.28% 0.176 142)
XYZxyz(10.3594, 19.4588, 4.1295)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D19 #84198D
analogous
#5C8D19 #228D19 #198D4A
triadic
#228D19 #19228D #8D1922
tetradic
#228D19 #195C8D #84198D #8D4A19
square
#228D19 #195C8D #84198D #8D4A19
split-complementary
#228D19 #4A198D #8D195C
monochromatic
#092507 #155910 #228D19 #2FC122 #4FDE43

Accessibility & contrast

On white

4.29
#228D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#228D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D19
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D19#FFFFFF#000000##000000
##228D191.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d19;
/* rgb */ color: rgb(34, 141, 25);
/* oklch */ color: oklch(56.3% 0.176 142.0);
Tailwind
colors: {
  custom: {
    50: '#70af61',
    500: '#228d19',
    950: '#000000',
  },
}
SCSS
$custom: #228d19;
$custom-light: #70af61;
$custom-dark: #000000;
JSON
{
  "hex": "#228d19",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 115.345,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56284,
    "c": 0.17586,
    "h": 142
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

primary
#228D19
secondary
#B543BF
accent
#3BEDDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #228D19

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

Preview Lab → · Contrast checker → · Palette generator →

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