#226722#226722

#226722 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.124 H 143.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#226722
RGBrgb(34, 103, 34)
HSLhsl(120, 50%, 27%)
HSVhsv(120, 67%, 40%)
CMYKcmyk(67%, 0%, 67%, 59.6%)
CIE-LABlab(38.12, -36.45, 31.80)
CIE-LCHlch(38.12, 48.37, 138.90°)
OKLaboklab(45.44% -0.099 0.074)
OKLCHoklch(45.44% 0.124 143.2)
XYZxyz(5.7983, 10.1555, 3.1677)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226722 #672267
analogous
#456722 #226722 #226745
triadic
#226722 #222267 #672222
tetradic
#226722 #224567 #672267 #674522
square
#226722 #224567 #672267 #674522
split-complementary
#226722 #452267 #672245
monochromatic
#081708 #133913 #226722 #319531 #43C143

Accessibility & contrast

On white

6.93
#226722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#226722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226722
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226722#FFFFFF#000000##FFFFFF
##2267221.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1A
Deuteranopia (green-blind)
#615828
Tritanopia (blue-blind)
#146458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226722;
/* rgb */ color: rgb(34, 103, 34);
/* oklch */ color: oklch(45.4% 0.124 143.2);
Tailwind
colors: {
  custom: {
    50: '#679360',
    500: '#226722',
    950: '#000000',
  },
}
SCSS
$custom: #226722;
$custom-light: #679360;
$custom-dark: #000000;
JSON
{
  "hex": "#226722",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.12362,
    "h": 143.2
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#226722
secondary
#9B4A9B
accent
#4EDADA
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #226722

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

Preview Lab → · Contrast checker → · Palette generator →

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