#226B2D#226B2D

#226B2D is a mid, moderate green. Relative luminance 0.110; OKLCH L 46.8% C 0.119 H 145.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#226B2D
RGBrgb(34, 107, 45)
HSLhsl(129, 52%, 28%)
HSVhsv(129, 68%, 42%)
CMYKcmyk(68.2%, 0%, 57.9%, 58%)
CIE-LABlab(39.66, -36.58, 27.97)
CIE-LCHlch(39.66, 46.05, 142.59°)
OKLaboklab(46.75% -0.0988 0.0668)
OKLCHoklch(46.75% 0.119 145.9)
XYZxyz(6.3906, 11.0443, 4.2771)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226B2D #6B2260
analogous
#3C6B22 #226B2D #226B51
triadic
#226B2D #2D226B #6B2D22
tetradic
#226B2D #223C6B #6B2260 #6B5122
square
#226B2D #223C6B #6B2260 #6B5122
split-complementary
#226B2D #51226B #6B223C
monochromatic
#07170A #133D19 #226B2D #319941 #44C457

Accessibility & contrast

On white

6.54
#226B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#226B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226B2D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226B2D#FFFFFF#000000##FFFFFF
##226B2D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6127
Deuteranopia (green-blind)
#645B32
Tritanopia (blue-blind)
#0D685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226b2d;
/* rgb */ color: rgb(34, 107, 45);
/* oklch */ color: oklch(46.8% 0.119 145.9);
Tailwind
colors: {
  custom: {
    50: '#679668',
    500: '#226b2d',
    950: '#000000',
  },
}
SCSS
$custom: #226b2d;
$custom-light: #679668;
$custom-dark: #000000;
JSON
{
  "hex": "#226b2d",
  "rgb": {
    "r": 34,
    "g": 107,
    "b": 45
  },
  "hsl": {
    "h": 129.041,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46752,
    "c": 0.1193,
    "h": 145.9
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#226B2D
secondary
#9F4A92
accent
#4DC6DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #226B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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