#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 |
|---|---|
| RGB | rgb(34, 103, 34) |
| HSL | hsl(120, 50%, 27%) |
| HSV | hsv(120, 67%, 40%) |
| CMYK | cmyk(67%, 0%, 67%, 59.6%) |
| CIE-LAB | lab(38.12, -36.45, 31.80) |
| CIE-LCH | lch(38.12, 48.37, 138.90°) |
| OKLab | oklab(45.44% -0.099 0.074) |
| OKLCH | oklch(45.44% 0.124 143.2) |
| XYZ | xyz(5.7983, 10.1555, 3.1677) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.03
Deep Green
#02590F
ΔE00 4.94
Forest Green
#2D5A27
ΔE00 5.37
Forest
#0B5509
ΔE00 6.05
Pine
#2B5D34
ΔE00 6.57
Darkish Green
#287C37
ΔE00 7.26
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 |
|---|---|---|---|---|
| ##226722 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.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