#226D2D#226D2D

#226D2D is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.122 H 145.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#226D2D
RGBrgb(34, 109, 45)
HSLhsl(129, 52%, 28%)
HSVhsv(129, 69%, 43%)
CMYKcmyk(68.8%, 0%, 58.7%, 57.3%)
CIE-LABlab(40.35, -37.38, 28.81)
CIE-LCHlch(40.35, 47.19, 142.38°)
OKLaboklab(47.33% -0.101 0.0686)
OKLCHoklch(47.33% 0.122 145.8)
XYZxyz(6.6015, 11.4661, 4.3474)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226D2D #6D2262
analogous
#3C6D22 #226D2D #226D52
triadic
#226D2D #2D226D #6D2D22
tetradic
#226D2D #223C6D #6D2262 #6D5222
square
#226D2D #223C6D #6D2262 #6D5222
split-complementary
#226D2D #52226D #6D223C
monochromatic
#07170A #133E1A #226D2D #319C40 #45C557

Accessibility & contrast

On white

6.38
#226D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#226D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226D2D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226D2D#FFFFFF#000000##FFFFFF
##226D2D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6327
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#0C6A5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226d2d;
/* rgb */ color: rgb(34, 109, 45);
/* oklch */ color: oklch(47.3% 0.122 145.8);
Tailwind
colors: {
  custom: {
    50: '#689868',
    500: '#226d2d',
    950: '#000000',
  },
}
SCSS
$custom: #226d2d;
$custom-light: #689868;
$custom-dark: #000000;
JSON
{
  "hex": "#226d2d",
  "rgb": {
    "r": 34,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 128.8,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.12212,
    "h": 145.8
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#226D2D
secondary
#A14A94
accent
#4CC7DC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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