#226D2C#226D2C

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

Color values

HEX#226D2C
RGBrgb(34, 109, 44)
HSLhsl(128, 52%, 28%)
HSVhsv(128, 69%, 43%)
CMYKcmyk(68.8%, 0%, 59.6%, 57.3%)
CIE-LABlab(40.34, -37.52, 29.31)
CIE-LCHlch(40.34, 47.62, 142.00°)
OKLaboklab(47.32% -0.1014 0.0697)
OKLCHoklch(47.32% 0.123 145.5)
XYZxyz(6.5825, 11.4585, 4.2472)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226D2C #6D2263
analogous
#3D6D22 #226D2C #226D51
triadic
#226D2C #2C226D #6D2C22
tetradic
#226D2C #223D6D #6D2263 #6D5122
square
#226D2C #223D6D #6D2263 #6D5122
split-complementary
#226D2C #51226D #6D223D
monochromatic
#071709 #133E19 #226D2C #319C3F #45C556

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226D2C#FFFFFF#000000##FFFFFF
##226D2C1.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)
#6F6326
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#0C6A5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226d2c;
/* rgb */ color: rgb(34, 109, 44);
/* oklch */ color: oklch(47.3% 0.123 145.5);
Tailwind
colors: {
  custom: {
    50: '#689867',
    500: '#226d2c',
    950: '#000000',
  },
}
SCSS
$custom: #226d2c;
$custom-light: #689867;
$custom-dark: #000000;
JSON
{
  "hex": "#226d2c",
  "rgb": {
    "r": 34,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 128,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.12306,
    "h": 145.5
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

primary
#226D2C
secondary
#A14A95
accent
#4CC9DC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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