#226E18#226E18

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

Color values

HEX#226E18
RGBrgb(34, 110, 24)
HSLhsl(113, 64%, 26%)
HSVhsv(113, 78%, 43%)
CMYKcmyk(69.1%, 0%, 78.2%, 56.9%)
CIE-LABlab(40.50, -40.13, 38.69)
CIE-LCHlch(40.50, 55.74, 136.05°)
OKLaboklab(47.39% -0.1095 0.0872)
OKLCHoklch(47.39% 0.14 141.5)
XYZxyz(6.4001, 11.5572, 2.7575)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E18 #64186E
analogous
#4D6E18 #226E18 #186E39
triadic
#226E18 #18226E #6E1822
tetradic
#226E18 #184D6E #64186E #6E3918
square
#226E18 #184D6E #64186E #6E3918
split-complementary
#226E18 #39186E #6E184D
monochromatic
#081905 #123C0D #226E18 #32A023 #42D22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226E18#FFFFFF#000000##FFFFFF
##226E181.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)
#716307
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#136A5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226e18;
/* rgb */ color: rgb(34, 110, 24);
/* oklch */ color: oklch(47.4% 0.140 141.5);
Tailwind
colors: {
  custom: {
    50: '#69985b',
    500: '#226e18',
    950: '#000000',
  },
}
SCSS
$custom: #226e18;
$custom-light: #69985b;
$custom-dark: #000000;
JSON
{
  "hex": "#226e18",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 113.023,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.14001,
    "h": 141.5
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#226E18
secondary
#983EA4
accent
#41E7D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226E18

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

Preview Lab → · Contrast checker → · Palette generator →

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