#226B17#226B17

#226B17 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.137 H 141.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#226B17
RGBrgb(34, 107, 23)
HSLhsl(112, 65%, 25%)
HSVhsv(112, 79%, 42%)
CMYKcmyk(68.2%, 0%, 78.5%, 58%)
CIE-LABlab(39.44, -39.09, 38.01)
CIE-LCHlch(39.44, 54.52, 135.80°)
OKLaboklab(46.51% -0.1068 0.0856)
OKLCHoklch(46.51% 0.137 141.3)
XYZxyz(6.0717, 10.9167, 2.5976)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226B17 #60176B
analogous
#4C6B17 #226B17 #176B36
triadic
#226B17 #17226B #6B1722
tetradic
#226B17 #174C6B #60176B #6B3617
square
#226B17 #174C6B #60176B #6B3617
split-complementary
#226B17 #36176B #6B174C
monochromatic
#081905 #12390C #226B17 #329D22 #42D02D

Accessibility & contrast

On white

6.60
#226B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#226B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226B17
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226B17#FFFFFF#000000##FFFFFF
##226B171.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#15675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226b17;
/* rgb */ color: rgb(34, 107, 23);
/* oklch */ color: oklch(46.5% 0.137 141.3);
Tailwind
colors: {
  custom: {
    50: '#68965a',
    500: '#226b17',
    950: '#000000',
  },
}
SCSS
$custom: #226b17;
$custom-light: #68965a;
$custom-dark: #000000;
JSON
{
  "hex": "#226b17",
  "rgb": {
    "r": 34,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 112.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46505,
    "c": 0.13688,
    "h": 141.3
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#226B17
secondary
#943DA1
accent
#40E8D2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226B17

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

Preview Lab → · Contrast checker → · Palette generator →

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