#226216#226216

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

Color values

HEX#226216
RGBrgb(34, 98, 22)
HSLhsl(111, 63%, 24%)
HSVhsv(111, 78%, 38%)
CMYKcmyk(65.3%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.24, -35.70, 35.19)
CIE-LCHlch(36.24, 50.13, 135.41°)
OKLaboklab(43.85% -0.0977 0.0796)
OKLCHoklch(43.85% 0.126 140.8)
XYZxyz(5.1719, 9.1329, 2.2492)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226216 #561662
analogous
#486216 #226216 #166230
triadic
#226216 #162262 #621622
tetradic
#226216 #164862 #561662 #623016
square
#226216 #164862 #561662 #623016
split-complementary
#226216 #301662 #621648
monochromatic
#091906 #11300B #226216 #339421 #45C62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226216#FFFFFF#000000##FFFFFF
##2262161.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)
#655808
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#185F53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #226216;
/* rgb */ color: rgb(34, 98, 22);
/* oklch */ color: oklch(43.9% 0.126 140.8);
Tailwind
colors: {
  custom: {
    50: '#668f59',
    500: '#226216',
    950: '#000000',
  },
}
SCSS
$custom: #226216;
$custom-light: #668f59;
$custom-dark: #000000;
JSON
{
  "hex": "#226216",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 110.526,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.12601,
    "h": 140.8
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#226216
secondary
#8A3B99
accent
#41E6CC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #226216

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

Preview Lab → · Contrast checker → · Palette generator →

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