#226D18#226D18

#226D18 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.139 H 141.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#226D18
RGBrgb(34, 109, 24)
HSLhsl(113, 64%, 26%)
HSVhsv(113, 78%, 43%)
CMYKcmyk(68.8%, 0%, 78%, 57.3%)
CIE-LABlab(40.15, -39.76, 38.34)
CIE-LCHlch(40.15, 55.23, 136.04°)
OKLaboklab(47.1% -0.1085 0.0865)
OKLCHoklch(47.1% 0.139 141.5)
XYZxyz(6.2929, 11.3427, 2.7217)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226D18 #63186D
analogous
#4C6D18 #226D18 #186D38
triadic
#226D18 #18226D #6D1822
tetradic
#226D18 #184C6D #63186D #6D3818
square
#226D18 #184C6D #63186D #6D3818
split-complementary
#226D18 #38186D #6D184C
monochromatic
#081906 #123B0D #226D18 #329F23 #41D12E

Accessibility & contrast

On white

6.42
#226D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#226D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226D18
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226D18#FFFFFF#000000##FFFFFF
##226D181.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706207
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#13695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226d18;
/* rgb */ color: rgb(34, 109, 24);
/* oklch */ color: oklch(47.1% 0.139 141.5);
Tailwind
colors: {
  custom: {
    50: '#69985b',
    500: '#226d18',
    950: '#000000',
  },
}
SCSS
$custom: #226d18;
$custom-light: #69985b;
$custom-dark: #000000;
JSON
{
  "hex": "#226d18",
  "rgb": {
    "r": 34,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 112.941,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.13877,
    "h": 141.5
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#226D18
secondary
#973EA3
accent
#41E7D3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226D18

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

Preview Lab → · Contrast checker → · Palette generator →

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