#226C18#226C18

#226C18 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.138 H 141.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#226C18
RGBrgb(34, 108, 24)
HSLhsl(113, 64%, 26%)
HSVhsv(113, 78%, 42%)
CMYKcmyk(68.5%, 0%, 77.8%, 57.6%)
CIE-LABlab(39.80, -39.38, 37.98)
CIE-LCHlch(39.80, 54.72, 136.04°)
OKLaboklab(46.81% -0.1075 0.0857)
OKLCHoklch(46.81% 0.138 141.4)
XYZxyz(6.1868, 11.1305, 2.6863)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226C18 #62186C
analogous
#4C6C18 #226C18 #186C38
triadic
#226C18 #18226C #6C1822
tetradic
#226C18 #184C6C #62186C #6C3818
square
#226C18 #184C6C #62186C #6C3818
split-complementary
#226C18 #38186C #6C184C
monochromatic
#081906 #123A0D #226C18 #329E23 #42D02E

Accessibility & contrast

On white

6.51
#226C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#226C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226C18
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226C18#FFFFFF#000000##FFFFFF
##226C181.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6108
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#14685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #226c18;
/* rgb */ color: rgb(34, 108, 24);
/* oklch */ color: oklch(46.8% 0.138 141.4);
Tailwind
colors: {
  custom: {
    50: '#68975b',
    500: '#226c18',
    950: '#000000',
  },
}
SCSS
$custom: #226c18;
$custom-light: #68975b;
$custom-dark: #000000;
JSON
{
  "hex": "#226c18",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 112.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.13751,
    "h": 141.4
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#226C18
secondary
#963EA2
accent
#41E7D3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226C18

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

Preview Lab → · Contrast checker → · Palette generator →

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