#226218#226218

#226218 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.9% C 0.125 H 141.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#226218
RGBrgb(34, 98, 24)
HSLhsl(112, 61%, 24%)
HSVhsv(112, 76%, 38%)
CMYKcmyk(65.3%, 0%, 75.5%, 61.6%)
CIE-LABlab(36.25, -35.52, 34.37)
CIE-LCHlch(36.25, 49.43, 135.94°)
OKLaboklab(43.87% -0.0971 0.0782)
OKLCHoklch(43.87% 0.125 141.2)
XYZxyz(5.1920, 9.1409, 2.3547)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226218 #581862
analogous
#476218 #226218 #186233
triadic
#226218 #182262 #621822
tetradic
#226218 #184762 #581862 #623318
square
#226218 #184762 #581862 #623318
split-complementary
#226218 #331862 #621847
monochromatic
#091906 #11310C #226218 #339324 #44C430

Accessibility & contrast

On white

7.43
#226218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#226218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226218
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226218#FFFFFF#000000##FFFFFF
##2262181.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#185F53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #226218;
/* rgb */ color: rgb(34, 98, 24);
/* oklch */ color: oklch(43.9% 0.125 141.2);
Tailwind
colors: {
  custom: {
    50: '#668f5a',
    500: '#226218',
    950: '#000000',
  },
}
SCSS
$custom: #226218;
$custom-light: #668f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#226218",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 111.892,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43871,
    "c": 0.12464,
    "h": 141.2
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#226218
secondary
#8C3E98
accent
#44E4CE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #226218

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

Preview Lab → · Contrast checker → · Palette generator →

#226218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva