#226B2C#226B2C

#226B2C is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.120 H 145.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#226B2C
RGBrgb(34, 107, 44)
HSLhsl(128, 52%, 28%)
HSVhsv(128, 68%, 42%)
CMYKcmyk(68.2%, 0%, 58.9%, 58%)
CIE-LABlab(39.64, -36.72, 28.48)
CIE-LCHlch(39.64, 46.47, 142.20°)
OKLaboklab(46.74% -0.0993 0.0678)
OKLCHoklch(46.74% 0.12 145.6)
XYZxyz(6.3716, 11.0367, 4.1769)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226B2C #6B2261
analogous
#3D6B22 #226B2C #226B50
triadic
#226B2C #2C226B #6B2C22
tetradic
#226B2C #223D6B #6B2261 #6B5022
square
#226B2C #223D6B #6B2261 #6B5022
split-complementary
#226B2C #50226B #6B223D
monochromatic
#07170A #133D19 #226B2C #31993F #44C455

Accessibility & contrast

On white

6.55
#226B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226B2C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226B2C#FFFFFF#000000##FFFFFF
##226B2C1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6126
Deuteranopia (green-blind)
#645B31
Tritanopia (blue-blind)
#0E685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226b2c;
/* rgb */ color: rgb(34, 107, 44);
/* oklch */ color: oklch(46.7% 0.120 145.6);
Tailwind
colors: {
  custom: {
    50: '#679667',
    500: '#226b2c',
    950: '#000000',
  },
}
SCSS
$custom: #226b2c;
$custom-light: #679667;
$custom-dark: #000000;
JSON
{
  "hex": "#226b2c",
  "rgb": {
    "r": 34,
    "g": 107,
    "b": 44
  },
  "hsl": {
    "h": 128.219,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46738,
    "c": 0.12024,
    "h": 145.6
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#226B2C
secondary
#9F4A93
accent
#4DC8DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #226B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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