#226916#226916

#226916 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.135 H 141.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#226916
RGBrgb(34, 105, 22)
HSLhsl(111, 65%, 25%)
HSVhsv(111, 79%, 41%)
CMYKcmyk(67.6%, 0%, 79%, 58.8%)
CIE-LABlab(38.73, -38.41, 37.69)
CIE-LCHlch(38.73, 53.81, 135.55°)
OKLaboklab(45.91% -0.105 0.0848)
OKLCHoklch(45.91% 0.135 141.1)
XYZxyz(5.8558, 10.5006, 2.4771)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226916 #5D1669
analogous
#4C6916 #226916 #166933
triadic
#226916 #162269 #691622
tetradic
#226916 #164C69 #5D1669 #693316
square
#226916 #164C69 #5D1669 #693316
split-complementary
#226916 #331669 #69164C
monochromatic
#081905 #12360B #226916 #329C21 #43CE2B

Accessibility & contrast

On white

6.77
#226916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#226916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226916
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226916#FFFFFF#000000##FFFFFF
##2269161.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#166559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226916;
/* rgb */ color: rgb(34, 105, 22);
/* oklch */ color: oklch(45.9% 0.135 141.1);
Tailwind
colors: {
  custom: {
    50: '#68955a',
    500: '#226916',
    950: '#000000',
  },
}
SCSS
$custom: #226916;
$custom-light: #68955a;
$custom-dark: #000000;
JSON
{
  "hex": "#226916",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 111.325,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.13498,
    "h": 141.1
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#226916
secondary
#913B9F
accent
#3FE8D0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226916

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

Preview Lab → · Contrast checker → · Palette generator →

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