#226E17#226E17

#226E17 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.141 H 141.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#226E17
RGBrgb(34, 110, 23)
HSLhsl(112, 65%, 26%)
HSVhsv(112, 79%, 43%)
CMYKcmyk(69.1%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.50, -40.21, 39.06)
CIE-LCHlch(40.50, 56.06, 135.83°)
OKLaboklab(47.38% -0.1098 0.0878)
OKLCHoklch(47.38% 0.141 141.3)
XYZxyz(6.3899, 11.5532, 2.7037)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E17 #63176E
analogous
#4D6E17 #226E17 #176E37
triadic
#226E17 #17226E #6E1722
tetradic
#226E17 #174D6E #63176E #6E3717
square
#226E17 #174D6E #63176E #6E3717
split-complementary
#226E17 #37176E #6E174D
monochromatic
#081905 #123B0C #226E17 #32A122 #41D32C

Accessibility & contrast

On white

6.34
#226E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#226E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E17
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E17#FFFFFF#000000##FFFFFF
##226E171.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#136A5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226e17;
/* rgb */ color: rgb(34, 110, 23);
/* oklch */ color: oklch(47.4% 0.141 141.3);
Tailwind
colors: {
  custom: {
    50: '#69985b',
    500: '#226e17',
    950: '#000000',
  },
}
SCSS
$custom: #226e17;
$custom-light: #69985b;
$custom-dark: #000000;
JSON
{
  "hex": "#226e17",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 112.414,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47381,
    "c": 0.14062,
    "h": 141.3
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#226E17
secondary
#973DA4
accent
#3FE8D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226E17

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

Preview Lab → · Contrast checker → · Palette generator →

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