#226C2D#226C2D

#226C2D is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.121 H 145.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#226C2D
RGBrgb(34, 108, 45)
HSLhsl(129, 52%, 28%)
HSVhsv(129, 69%, 42%)
CMYKcmyk(68.5%, 0%, 58.3%, 57.6%)
CIE-LABlab(40.01, -36.98, 28.39)
CIE-LCHlch(40.01, 46.62, 142.49°)
OKLaboklab(47.04% -0.0999 0.0677)
OKLCHoklch(47.04% 0.121 145.9)
XYZxyz(6.4955, 11.2540, 4.3120)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226C2D #6C2261
analogous
#3C6C22 #226C2D #226C52
triadic
#226C2D #2D226C #6C2D22
tetradic
#226C2D #223C6C #6C2261 #6C5222
square
#226C2D #223C6C #6C2261 #6C5222
split-complementary
#226C2D #52226C #6C223C
monochromatic
#07170A #133D1A #226C2D #319B40 #44C457

Accessibility & contrast

On white

6.46
#226C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#226C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226C2D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226C2D#FFFFFF#000000##FFFFFF
##226C2D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6227
Deuteranopia (green-blind)
#655C32
Tritanopia (blue-blind)
#0D695E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #226c2d;
/* rgb */ color: rgb(34, 108, 45);
/* oklch */ color: oklch(47.0% 0.121 145.9);
Tailwind
colors: {
  custom: {
    50: '#679768',
    500: '#226c2d',
    950: '#000000',
  },
}
SCSS
$custom: #226c2d;
$custom-light: #679768;
$custom-dark: #000000;
JSON
{
  "hex": "#226c2d",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 45
  },
  "hsl": {
    "h": 128.919,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47041,
    "c": 0.12071,
    "h": 145.9
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#226C2D
secondary
#A04A93
accent
#4CC6DC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #226C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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