#228D1A#228D1A

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

Color values

HEX#228D1A
RGBrgb(34, 141, 26)
HSLhsl(116, 69%, 33%)
HSVhsv(116, 82%, 55%)
CMYKcmyk(75.9%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.22, -50.84, 48.40)
CIE-LCHlch(51.22, 70.19, 136.41°)
OKLaboklab(56.29% -0.1384 0.1078)
OKLCHoklch(56.29% 0.175 142.1)
XYZxyz(10.3704, 19.4632, 4.1873)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D1A #851A8D
analogous
#5B8D1A #228D1A #1A8D4B
triadic
#228D1A #1A228D #8D1A22
tetradic
#228D1A #1A5B8D #851A8D #8D4B1A
square
#228D1A #1A5B8D #851A8D #8D4B1A
split-complementary
#228D1A #4B1A8D #8D1A5B
monochromatic
#092607 #165910 #228D1A #2EC124 #4FDD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D1A#FFFFFF#000000##000000
##228D1A1.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)
#857728
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d1a;
/* rgb */ color: rgb(34, 141, 26);
/* oklch */ color: oklch(56.3% 0.175 142.1);
Tailwind
colors: {
  custom: {
    50: '#70af61',
    500: '#228d1a',
    950: '#000000',
  },
}
SCSS
$custom: #228d1a;
$custom-light: #70af61;
$custom-dark: #000000;
JSON
{
  "hex": "#228d1a",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 115.826,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.17538,
    "h": 142.1
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#228D1A
secondary
#B645BE
accent
#3CECDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #228D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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