#226C17#226C17

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

Color values

HEX#226C17
RGBrgb(34, 108, 23)
HSLhsl(112, 65%, 26%)
HSVhsv(112, 79%, 42%)
CMYKcmyk(68.5%, 0%, 78.7%, 57.6%)
CIE-LABlab(39.79, -39.46, 38.36)
CIE-LCHlch(39.79, 55.04, 135.81°)
OKLaboklab(46.8% -0.1078 0.0864)
OKLCHoklch(46.8% 0.138 141.3)
XYZxyz(6.1766, 11.1264, 2.6326)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226C17 #61176C
analogous
#4C6C17 #226C17 #176C36
triadic
#226C17 #17226C #6C1722
tetradic
#226C17 #174C6C #61176C #6C3617
square
#226C17 #174C6C #61176C #6C3617
split-complementary
#226C17 #36176C #6C174C
monochromatic
#081905 #123A0C #226C17 #329E22 #42D12C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226C17#FFFFFF#000000##FFFFFF
##226C171.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)
#6F6106
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#14685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #226c17;
/* rgb */ color: rgb(34, 108, 23);
/* oklch */ color: oklch(46.8% 0.138 141.3);
Tailwind
colors: {
  custom: {
    50: '#68975b',
    500: '#226c17',
    950: '#000000',
  },
}
SCSS
$custom: #226c17;
$custom-light: #68975b;
$custom-dark: #000000;
JSON
{
  "hex": "#226c17",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 112.235,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.13813,
    "h": 141.3
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#226C17
secondary
#953DA2
accent
#40E8D2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226C17

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

Preview Lab → · Contrast checker → · Palette generator →

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