#226811#226811

#226811 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.137 H 140.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#226811
RGBrgb(34, 104, 17)
HSLhsl(108, 72%, 24%)
HSVhsv(108, 84%, 41%)
CMYKcmyk(67.3%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.34, -38.39, 39.11)
CIE-LCHlch(38.34, 54.80, 134.47°)
OKLaboklab(45.58% -0.1052 0.087)
OKLCHoklch(45.58% 0.137 140.4)
XYZxyz(5.7109, 10.2806, 2.2136)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226811 #571168
analogous
#4D6811 #226811 #11682B
triadic
#226811 #112268 #681122
tetradic
#226811 #114D68 #571168 #682B11
square
#226811 #114D68 #571168 #682B11
split-complementary
#226811 #2B1168 #68114D
monochromatic
#091A04 #113308 #226811 #339D1A #44D122

Accessibility & contrast

On white

6.87
#226811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#226811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226811
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226811#FFFFFF#000000##FFFFFF
##2268111.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#176458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226811;
/* rgb */ color: rgb(34, 104, 17);
/* oklch */ color: oklch(45.6% 0.137 140.4);
Tailwind
colors: {
  custom: {
    50: '#689457',
    500: '#226811',
    950: '#000000',
  },
}
SCSS
$custom: #226811;
$custom-light: #689457;
$custom-dark: #000000;
JSON
{
  "hex": "#226811",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 108.276,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45584,
    "c": 0.13656,
    "h": 140.4
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#226811
secondary
#8B35A0
accent
#39EFCB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #226811

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

Preview Lab → · Contrast checker → · Palette generator →

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