#226A2C#226A2C

#226A2C is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.4% C 0.119 H 145.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#226A2C
RGBrgb(34, 106, 44)
HSLhsl(128, 51%, 27%)
HSVhsv(128, 68%, 42%)
CMYKcmyk(67.9%, 0%, 58.5%, 58.4%)
CIE-LABlab(39.29, -36.32, 28.07)
CIE-LCHlch(39.29, 45.90, 142.31°)
OKLaboklab(46.45% -0.0982 0.0669)
OKLCHoklch(46.45% 0.119 145.7)
XYZxyz(6.2679, 10.8294, 4.1423)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A2C #6A2260
analogous
#3C6A22 #226A2C #226A50
triadic
#226A2C #2C226A #6A2C22
tetradic
#226A2C #223C6A #6A2260 #6A5022
square
#226A2C #223C6A #6A2260 #6A5022
split-complementary
#226A2C #50226A #6A223C
monochromatic
#07170A #133C19 #226A2C #31983F #44C355

Accessibility & contrast

On white

6.63
#226A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#226A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226A2C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226A2C#FFFFFF#000000##FFFFFF
##226A2C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6026
Deuteranopia (green-blind)
#635A31
Tritanopia (blue-blind)
#0E675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226a2c;
/* rgb */ color: rgb(34, 106, 44);
/* oklch */ color: oklch(46.4% 0.119 145.7);
Tailwind
colors: {
  custom: {
    50: '#679567',
    500: '#226a2c',
    950: '#000000',
  },
}
SCSS
$custom: #226a2c;
$custom-light: #679567;
$custom-dark: #000000;
JSON
{
  "hex": "#226a2c",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 44
  },
  "hsl": {
    "h": 128.333,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.11882,
    "h": 145.7
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#226A2C
secondary
#9E4A92
accent
#4DC7DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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