#226C3E#226C3E

#226C3E is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.3% C 0.104 H 152.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#226C3E
RGBrgb(34, 108, 62)
HSLhsl(143, 52%, 28%)
HSVhsv(143, 69%, 42%)
CMYKcmyk(68.5%, 0%, 42.6%, 57.6%)
CIE-LABlab(40.27, -34.04, 19.26)
CIE-LCHlch(40.27, 39.11, 150.49°)
OKLaboklab(47.34% -0.0919 0.0478)
OKLCHoklch(47.34% 0.104 152.5)
XYZxyz(6.8912, 11.4123, 6.3961)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226C3E #6C2250
analogous
#2B6C22 #226C3E #226C63
triadic
#226C3E #3E226C #6C3E22
tetradic
#226C3E #222B6C #6C2250 #6C6322
square
#226C3E #222B6C #6C2250 #6C6322
split-complementary
#226C3E #63226C #6C222B
monochromatic
#07170D #133D23 #226C3E #319B59 #44C475

Accessibility & contrast

On white

6.40
#226C3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#226C3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226C3E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226C3E#FFFFFF#000000##FFFFFF
##226C3E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633B
Deuteranopia (green-blind)
#635C41
Tritanopia (blue-blind)
#006A61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226c3e;
/* rgb */ color: rgb(34, 108, 62);
/* oklch */ color: oklch(47.3% 0.104 152.5);
Tailwind
colors: {
  custom: {
    50: '#679774',
    500: '#226c3e',
    950: '#000000',
  },
}
SCSS
$custom: #226c3e;
$custom-light: #679774;
$custom-dark: #000000;
JSON
{
  "hex": "#226c3e",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 62
  },
  "hsl": {
    "h": 142.703,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.10365,
    "h": 152.5
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#226C3E
secondary
#A04A7F
accent
#4CA5DC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #226C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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