#226A2B#226A2B

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

Color values

HEX#226A2B
RGBrgb(34, 106, 43)
HSLhsl(128, 51%, 27%)
HSVhsv(128, 68%, 42%)
CMYKcmyk(67.9%, 0%, 59.4%, 58.4%)
CIE-LABlab(39.28, -36.46, 28.58)
CIE-LCHlch(39.28, 46.33, 141.91°)
OKLaboklab(46.43% -0.0986 0.068)
OKLCHoklch(46.43% 0.12 145.4)
XYZxyz(6.2494, 10.8219, 4.0445)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A2B #6A2261
analogous
#3D6A22 #226A2B #226A4F
triadic
#226A2B #2B226A #6A2B22
tetradic
#226A2B #223D6A #6A2261 #6A4F22
square
#226A2B #223D6A #6A2261 #6A4F22
split-complementary
#226A2B #4F226A #6A223D
monochromatic
#071709 #133C18 #226A2B #31983E #44C353

Accessibility & contrast

On white

6.64
#226A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#226A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226A2B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226A2B#FFFFFF#000000##FFFFFF
##226A2B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6025
Deuteranopia (green-blind)
#635A30
Tritanopia (blue-blind)
#0F675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226a2b;
/* rgb */ color: rgb(34, 106, 43);
/* oklch */ color: oklch(46.4% 0.120 145.4);
Tailwind
colors: {
  custom: {
    50: '#679566',
    500: '#226a2b',
    950: '#000000',
  },
}
SCSS
$custom: #226a2b;
$custom-light: #679566;
$custom-dark: #000000;
JSON
{
  "hex": "#226a2b",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 127.5,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46434,
    "c": 0.11977,
    "h": 145.4
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#226A2B
secondary
#9E4A93
accent
#4DC9DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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