#226A12#226A12

#226A12 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.138 H 140.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#226A12
RGBrgb(34, 106, 18)
HSLhsl(109, 71%, 24%)
HSVhsv(109, 83%, 42%)
CMYKcmyk(67.9%, 0%, 83%, 58.4%)
CIE-LABlab(39.06, -39.08, 39.45)
CIE-LCHlch(39.06, 55.53, 134.73°)
OKLaboklab(46.18% -0.107 0.0879)
OKLCHoklch(46.18% 0.138 140.6)
XYZxyz(5.9226, 10.6912, 2.3236)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A12 #5A126A
analogous
#4E6A12 #226A12 #126A2E
triadic
#226A12 #12226A #6A1222
tetradic
#226A12 #124E6A #5A126A #6A2E12
square
#226A12 #124E6A #5A126A #6A2E12
split-complementary
#226A12 #2E126A #6A124E
monochromatic
#081A04 #113609 #226A12 #339E1B #44D324

Accessibility & contrast

On white

6.69
#226A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#226A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226A12
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226A12#FFFFFF#000000##FFFFFF
##226A121.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#645A1C
Tritanopia (blue-blind)
#16665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226a12;
/* rgb */ color: rgb(34, 106, 18);
/* oklch */ color: oklch(46.2% 0.138 140.6);
Tailwind
colors: {
  custom: {
    50: '#689558',
    500: '#226a12',
    950: '#000000',
  },
}
SCSS
$custom: #226a12;
$custom-light: #689558;
$custom-dark: #000000;
JSON
{
  "hex": "#226a12",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 109.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46177,
    "c": 0.13849,
    "h": 140.6
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#226A12
secondary
#8E36A2
accent
#3AEECD
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226A12

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

Preview Lab → · Contrast checker → · Palette generator →

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