#226517#226517
#226517 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.129 H 141.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #226517 |
|---|---|
| RGB | rgb(34, 101, 23) |
| HSL | hsl(112, 63%, 24%) |
| HSV | hsv(112, 77%, 40%) |
| CMYK | cmyk(66.3%, 0%, 77.2%, 60.4%) |
| CIE-LAB | lab(37.31, -36.79, 35.87) |
| CIE-LCH | lch(37.31, 51.38, 135.72°) |
| OKLab | oklab(44.75% -0.1006 0.0812) |
| OKLCH | oklch(44.75% 0.129 141.1) |
| XYZ | xyz(5.4677, 9.7088, 2.3963) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.70
Deep Green
#02590F
ΔE00 4.40
Forest
#0B5509
ΔE00 5.29
Forest Green
#2D5A27
ΔE00 5.77
Navy Green
#35530A
ΔE00 7.62
Pine
#2B5D34
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226517 #5A1765
analogous
#496517 #226517 #176533
triadic
#226517 #172265 #651722
tetradic
#226517 #174965 #5A1765 #653317
square
#226517 #174965 #5A1765 #653317
split-complementary
#226517 #331765 #651749
monochromatic
#081906 #11330C #226517 #339722 #44C92E
Accessibility & contrast
On white
7.14
#226517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#226517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226517
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226517 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685B09
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#176256
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #226517; /* rgb */ color: rgb(34, 101, 23); /* oklch */ color: oklch(44.7% 0.129 141.1);
Tailwind
colors: {
custom: {
50: '#67925a',
500: '#226517',
950: '#000000',
},
}SCSS
$custom: #226517; $custom-light: #67925a; $custom-dark: #000000;
JSON
{
"hex": "#226517",
"rgb": {
"r": 34,
"g": 101,
"b": 23
},
"hsl": {
"h": 111.538,
"s": 62.903,
"l": 24.314
},
"oklch": {
"l": 0.44746,
"c": 0.12925,
"h": 141.1
},
"luminance": 0.09709
}Semantic roles & 50–950 ramp
primary
#226517
secondary
#8E3C9B
accent
#42E6CF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79