#226D3A#226D3A

#226D3A is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.5% C 0.109 H 150.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#226D3A
RGBrgb(34, 109, 58)
HSLhsl(139, 52%, 28%)
HSVhsv(139, 69%, 43%)
CMYKcmyk(68.8%, 0%, 46.8%, 57.3%)
CIE-LABlab(40.54, -35.23, 21.92)
CIE-LCHlch(40.54, 41.49, 148.11°)
OKLaboklab(47.55% -0.095 0.0539)
OKLCHoklch(47.55% 0.109 150.4)
XYZxyz(6.8915, 11.5821, 5.8746)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226D3A #6D2255
analogous
#2F6D22 #226D3A #226D5F
triadic
#226D3A #3A226D #6D3A22
tetradic
#226D3A #222F6D #6D2255 #6D5F22
square
#226D3A #222F6D #6D2255 #6D5F22
split-complementary
#226D3A #5F226D #6D222F
monochromatic
#07170C #133E21 #226D3A #319C53 #45C56E

Accessibility & contrast

On white

6.33
#226D3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#226D3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226D3A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226D3A#FFFFFF#000000##FFFFFF
##226D3A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6436
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#036B61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226d3a;
/* rgb */ color: rgb(34, 109, 58);
/* oklch */ color: oklch(47.5% 0.109 150.4);
Tailwind
colors: {
  custom: {
    50: '#679771',
    500: '#226d3a',
    950: '#000000',
  },
}
SCSS
$custom: #226d3a;
$custom-light: #679771;
$custom-dark: #000000;
JSON
{
  "hex": "#226d3a",
  "rgb": {
    "r": 34,
    "g": 109,
    "b": 58
  },
  "hsl": {
    "h": 139.2,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.10926,
    "h": 150.4
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#226D3A
secondary
#A14A85
accent
#4CAEDC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #226D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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