#226A2A#226A2A

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

Color values

HEX#226A2A
RGBrgb(34, 106, 42)
HSLhsl(127, 51%, 27%)
HSVhsv(127, 68%, 42%)
CMYKcmyk(67.9%, 0%, 60.4%, 58.4%)
CIE-LABlab(39.27, -36.61, 29.08)
CIE-LCHlch(39.27, 46.75, 141.53°)
OKLaboklab(46.42% -0.099 0.069)
OKLCHoklch(46.42% 0.121 145.1)
XYZxyz(6.2312, 10.8147, 3.9491)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A2A #6A2262
analogous
#3E6A22 #226A2A #226A4E
triadic
#226A2A #2A226A #6A2A22
tetradic
#226A2A #223E6A #6A2262 #6A4E22
square
#226A2A #223E6A #6A2262 #6A4E22
split-complementary
#226A2A #4E226A #6A223E
monochromatic
#071709 #133C18 #226A2A #31983C #44C352

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226A2A#FFFFFF#000000##FFFFFF
##226A2A1.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)
#6C6024
Deuteranopia (green-blind)
#635A2F
Tritanopia (blue-blind)
#0F675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226a2a;
/* rgb */ color: rgb(34, 106, 42);
/* oklch */ color: oklch(46.4% 0.121 145.1);
Tailwind
colors: {
  custom: {
    50: '#679566',
    500: '#226a2a',
    950: '#000000',
  },
}
SCSS
$custom: #226a2a;
$custom-light: #679566;
$custom-dark: #000000;
JSON
{
  "hex": "#226a2a",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 126.667,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46419,
    "c": 0.1207,
    "h": 145.1
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#226A2A
secondary
#9E4A94
accent
#4DCBDB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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