#226C2B#226C2B

#226C2B is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.123 H 145.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#226C2B
RGBrgb(34, 108, 43)
HSLhsl(127, 52%, 28%)
HSVhsv(127, 69%, 42%)
CMYKcmyk(68.5%, 0%, 60.2%, 57.6%)
CIE-LABlab(39.98, -37.27, 29.41)
CIE-LCHlch(39.98, 47.47, 141.72°)
OKLaboklab(47.01% -0.1008 0.0698)
OKLCHoklch(47.01% 0.123 145.3)
XYZxyz(6.4579, 11.2390, 4.1140)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226C2B #6C2263
analogous
#3E6C22 #226C2B #226C50
triadic
#226C2B #2B226C #6C2B22
tetradic
#226C2B #223E6C #6C2263 #6C5022
square
#226C2B #223E6C #6C2263 #6C5022
split-complementary
#226C2B #50226C #6C223E
monochromatic
#071709 #133D18 #226C2B #319B3E #44C454

Accessibility & contrast

On white

6.47
#226C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226C2B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226C2B#FFFFFF#000000##FFFFFF
##226C2B1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6225
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#0E695E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #226c2b;
/* rgb */ color: rgb(34, 108, 43);
/* oklch */ color: oklch(47.0% 0.123 145.3);
Tailwind
colors: {
  custom: {
    50: '#679766',
    500: '#226c2b',
    950: '#000000',
  },
}
SCSS
$custom: #226c2b;
$custom-light: #679766;
$custom-dark: #000000;
JSON
{
  "hex": "#226c2b",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 43
  },
  "hsl": {
    "h": 127.297,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.12258,
    "h": 145.3
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#226C2B
secondary
#A04A95
accent
#4CCADC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #226C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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