#226A28#226A28

#226A28 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.123 H 144.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#226A28
RGBrgb(34, 106, 40)
HSLhsl(125, 51%, 27%)
HSVhsv(125, 68%, 42%)
CMYKcmyk(67.9%, 0%, 62.3%, 58.4%)
CIE-LABlab(39.24, -36.88, 30.09)
CIE-LCHlch(39.24, 47.60, 140.79°)
OKLaboklab(46.39% -0.0999 0.071)
OKLCHoklch(46.39% 0.123 144.6)
XYZxyz(6.1963, 10.8007, 3.7653)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A28 #6A2264
analogous
#406A22 #226A28 #226A4C
triadic
#226A28 #28226A #6A2822
tetradic
#226A28 #22406A #6A2264 #6A4C22
square
#226A28 #22406A #6A2264 #6A4C22
split-complementary
#226A28 #4C226A #6A2240
monochromatic
#071709 #133C17 #226A28 #319839 #44C34E

Accessibility & contrast

On white

6.65
#226A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#226A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226A28
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226A28#FFFFFF#000000##FFFFFF
##226A281.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6021
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#10675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226a28;
/* rgb */ color: rgb(34, 106, 40);
/* oklch */ color: oklch(46.4% 0.123 144.6);
Tailwind
colors: {
  custom: {
    50: '#679564',
    500: '#226a28',
    950: '#000000',
  },
}
SCSS
$custom: #226a28;
$custom-light: #679564;
$custom-dark: #000000;
JSON
{
  "hex": "#226a28",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 125,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.12253,
    "h": 144.6
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#226A28
secondary
#9E4A97
accent
#4DCFDB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #226A28

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

Preview Lab → · Contrast checker → · Palette generator →

#226A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva