#226A2D#226A2D

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

Color values

HEX#226A2D
RGBrgb(34, 106, 45)
HSLhsl(129, 51%, 27%)
HSVhsv(129, 68%, 42%)
CMYKcmyk(67.9%, 0%, 57.5%, 58.4%)
CIE-LABlab(39.30, -36.17, 27.55)
CIE-LCHlch(39.30, 45.47, 142.71°)
OKLaboklab(46.46% -0.0977 0.0659)
OKLCHoklch(46.46% 0.118 146)
XYZxyz(6.2870, 10.8370, 4.2425)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A2D #6A225F
analogous
#3B6A22 #226A2D #226A51
triadic
#226A2D #2D226A #6A2D22
tetradic
#226A2D #223B6A #6A225F #6A5122
square
#226A2D #223B6A #6A225F #6A5122
split-complementary
#226A2D #51226A #6A223B
monochromatic
#07170A #133C19 #226A2D #319841 #44C357

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226A2D#FFFFFF#000000##FFFFFF
##226A2D1.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)
#6C6027
Deuteranopia (green-blind)
#635A32
Tritanopia (blue-blind)
#0E675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226a2d;
/* rgb */ color: rgb(34, 106, 45);
/* oklch */ color: oklch(46.5% 0.118 146.0);
Tailwind
colors: {
  custom: {
    50: '#679568',
    500: '#226a2d',
    950: '#000000',
  },
}
SCSS
$custom: #226a2d;
$custom-light: #679568;
$custom-dark: #000000;
JSON
{
  "hex": "#226a2d",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 129.167,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.11787,
    "h": 146
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#226A2D
secondary
#9E4A91
accent
#4DC5DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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