#226211#226211

#226211 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.8% C 0.129 H 140.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#226211
RGBrgb(34, 98, 17)
HSLhsl(107, 70%, 23%)
HSVhsv(107, 83%, 38%)
CMYKcmyk(65.3%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.21, -36.09, 37.07)
CIE-LCHlch(36.21, 51.73, 134.23°)
OKLaboklab(43.82% -0.099 0.0828)
OKLCHoklch(43.82% 0.129 140.1)
XYZxyz(5.1283, 9.1154, 2.0194)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226211 #511162
analogous
#4B6211 #226211 #116228
triadic
#226211 #112262 #621122
tetradic
#226211 #114B62 #511162 #622811
square
#226211 #114B62 #511162 #622811
split-complementary
#226211 #281162 #62114B
monochromatic
#091A05 #102E08 #226211 #34961A #46CA23

Accessibility & contrast

On white

7.44
#226211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#226211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226211
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226211#FFFFFF#000000##FFFFFF
##2262111.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#195F53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #226211;
/* rgb */ color: rgb(34, 98, 17);
/* oklch */ color: oklch(43.8% 0.129 140.1);
Tailwind
colors: {
  custom: {
    50: '#678f56',
    500: '#226211',
    950: '#000000',
  },
}
SCSS
$custom: #226211;
$custom-light: #678f56;
$custom-dark: #000000;
JSON
{
  "hex": "#226211",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 107.407,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43816,
    "c": 0.12907,
    "h": 140.1
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#226211
secondary
#85349A
accent
#3BEDC8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #226211

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

Preview Lab → · Contrast checker → · Palette generator →

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