#226720#226720
#226720 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.125 H 142.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #226720 |
|---|---|
| RGB | rgb(34, 103, 32) |
| HSL | hsl(118, 53%, 26%) |
| HSV | hsv(118, 69%, 40%) |
| CMYK | cmyk(67%, 0%, 68.9%, 59.6%) |
| CIE-LAB | lab(38.10, -36.68, 32.73) |
| CIE-LCH | lch(38.10, 49.16, 138.25°) |
| OKLab | oklab(45.42% -0.0997 0.0758) |
| OKLCH | oklch(45.42% 0.125 142.8) |
| XYZ | xyz(5.7703, 10.1443, 3.0202) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.73
Deep Green
#02590F
ΔE00 4.89
Forest Green
#2D5A27
ΔE00 5.53
Forest
#0B5509
ΔE00 5.97
Pine
#2B5D34
ΔE00 6.87
Darkish Green
#287C37
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226720 #652067
analogous
#466720 #226720 #206742
triadic
#226720 #202267 #672022
tetradic
#226720 #204667 #652067 #674220
square
#226720 #204667 #652067 #674220
split-complementary
#226720 #422067 #672046
monochromatic
#081707 #133811 #226720 #31962F #42C33E
Accessibility & contrast
On white
6.93
#226720 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#226720 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226720
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226720 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226720 | 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)
#695D17
Deuteranopia (green-blind)
#615726
Tritanopia (blue-blind)
#146458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #226720; /* rgb */ color: rgb(34, 103, 32); /* oklch */ color: oklch(45.4% 0.125 142.8);
Tailwind
colors: {
custom: {
50: '#67935f',
500: '#226720',
950: '#000000',
},
}SCSS
$custom: #226720; $custom-light: #67935f; $custom-dark: #000000;
JSON
{
"hex": "#226720",
"rgb": {
"r": 34,
"g": 103,
"b": 32
},
"hsl": {
"h": 118.31,
"s": 52.593,
"l": 26.471
},
"oklch": {
"l": 0.4542,
"c": 0.12527,
"h": 142.8
},
"luminance": 0.10145
}Semantic roles & 50–950 ramp
primary
#226720
secondary
#99489B
accent
#4CDCD8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79