#226417#226417
#226417 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.128 H 141.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #226417 |
|---|---|
| RGB | rgb(34, 100, 23) |
| HSL | hsl(111, 63%, 24%) |
| HSV | hsv(111, 77%, 39%) |
| CMYK | cmyk(66%, 0%, 77%, 60.8%) |
| CIE-LAB | lab(36.96, -36.40, 35.51) |
| CIE-LCH | lch(36.96, 50.85, 135.71°) |
| OKLab | oklab(44.45% -0.0995 0.0804) |
| OKLCH | oklch(44.45% 0.128 141.1) |
| XYZ | xyz(5.3712, 9.5158, 2.3641) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.77
Deep Green
#02590F
ΔE00 4.12
Forest
#0B5509
ΔE00 4.98
Forest Green
#2D5A27
ΔE00 5.50
Navy Green
#35530A
ΔE00 7.37
Pine
#2B5D34
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226417 #591764
analogous
#496417 #226417 #176433
triadic
#226417 #172264 #641722
tetradic
#226417 #174964 #591764 #643317
square
#226417 #174964 #591764 #643317
split-complementary
#226417 #331764 #641749
monochromatic
#081906 #11320C #226417 #339622 #44C82E
Accessibility & contrast
On white
7.23
#226417 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#226417 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226417
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226417 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226417 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675A09
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#176155
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #226417; /* rgb */ color: rgb(34, 100, 23); /* oklch */ color: oklch(44.5% 0.128 141.1);
Tailwind
colors: {
custom: {
50: '#679159',
500: '#226417',
950: '#000000',
},
}SCSS
$custom: #226417; $custom-light: #679159; $custom-dark: #000000;
JSON
{
"hex": "#226417",
"rgb": {
"r": 34,
"g": 100,
"b": 23
},
"hsl": {
"h": 111.429,
"s": 62.602,
"l": 24.118
},
"oklch": {
"l": 0.44452,
"c": 0.12794,
"h": 141.1
},
"luminance": 0.09516
}Semantic roles & 50–950 ramp
primary
#226417
secondary
#8D3C9A
accent
#42E6CE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79