#226E2C#226E2C

#226E2C is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.124 H 145.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#226E2C
RGBrgb(34, 110, 44)
HSLhsl(128, 53%, 28%)
HSVhsv(128, 69%, 43%)
CMYKcmyk(69.1%, 0%, 60%, 56.9%)
CIE-LABlab(40.69, -37.92, 29.73)
CIE-LCHlch(40.69, 48.18, 141.91°)
OKLaboklab(47.61% -0.1025 0.0706)
OKLCHoklch(47.61% 0.124 145.5)
XYZxyz(6.6898, 11.6731, 4.2830)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E2C #6E2264
analogous
#3E6E22 #226E2C #226E52
triadic
#226E2C #2C226E #6E2C22
tetradic
#226E2C #223E6E #6E2264 #6E5222
square
#226E2C #223E6E #6E2264 #6E5222
split-complementary
#226E2C #52226E #6E223E
monochromatic
#071709 #143F19 #226E2C #309D3F #45C556

Accessibility & contrast

On white

6.30
#226E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#226E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E2C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E2C#FFFFFF#000000##FFFFFF
##226E2C1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706425
Deuteranopia (green-blind)
#675D31
Tritanopia (blue-blind)
#0C6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e2c;
/* rgb */ color: rgb(34, 110, 44);
/* oklch */ color: oklch(47.6% 0.124 145.5);
Tailwind
colors: {
  custom: {
    50: '#689867',
    500: '#226e2c',
    950: '#000000',
  },
}
SCSS
$custom: #226e2c;
$custom-light: #689867;
$custom-dark: #000000;
JSON
{
  "hex": "#226e2c",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 44
  },
  "hsl": {
    "h": 127.895,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.12445,
    "h": 145.5
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #226E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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