#226F11#226F11

#226F11 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.145 H 140.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#226F11
RGBrgb(34, 111, 17)
HSLhsl(109, 73%, 25%)
HSVhsv(109, 85%, 44%)
CMYKcmyk(69.4%, 0%, 84.7%, 56.5%)
CIE-LABlab(40.81, -41.00, 41.43)
CIE-LCHlch(40.81, 58.28, 134.70°)
OKLaboklab(47.63% -0.1122 0.0919)
OKLCHoklch(47.63% 0.145 140.7)
XYZxyz(6.4450, 11.7488, 2.4583)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F11 #5E116F
analogous
#516F11 #226F11 #116F2F
triadic
#226F11 #11226F #6F1122
tetradic
#226F11 #11516F #5E116F #6F2F11
square
#226F11 #11516F #5E116F #6F2F11
split-complementary
#226F11 #2F116F #6F1151
monochromatic
#081B04 #123A09 #226F11 #32A419 #43D921

Accessibility & contrast

On white

6.27
#226F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#226F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F11
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F11#FFFFFF#000000##FFFFFF
##226F111.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#146B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226f11;
/* rgb */ color: rgb(34, 111, 17);
/* oklch */ color: oklch(47.6% 0.145 140.7);
Tailwind
colors: {
  custom: {
    50: '#6a9958',
    500: '#226f11',
    950: '#000000',
  },
}
SCSS
$custom: #226f11;
$custom-light: #6a9958;
$custom-dark: #000000;
JSON
{
  "hex": "#226f11",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 109.149,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.14505,
    "h": 140.7
  },
  "luminance": 0.11749
}

Semantic roles & 50–950 ramp

primary
#226F11
secondary
#9235A6
accent
#38F0CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226F11

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

Preview Lab → · Contrast checker → · Palette generator →

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