#226515#226515
#226515 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.131 H 140.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #226515 |
|---|---|
| RGB | rgb(34, 101, 21) |
| HSL | hsl(110, 66%, 24%) |
| HSV | hsv(110, 79%, 40%) |
| CMYK | cmyk(66.3%, 0%, 79.2%, 60.4%) |
| CIE-LAB | lab(37.30, -36.95, 36.65) |
| CIE-LCH | lch(37.30, 52.05, 135.23°) |
| OKLab | oklab(44.73% -0.1011 0.0825) |
| OKLCH | oklch(44.73% 0.131 140.8) |
| XYZ | xyz(5.4485, 9.7011, 2.2947) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.53
Deep Green
#02590F
ΔE00 4.47
Forest
#0B5509
ΔE00 5.31
Forest Green
#2D5A27
ΔE00 5.97
Navy Green
#35530A
ΔE00 7.56
Pine
#2B5D34
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226515 #581565
analogous
#4A6515 #226515 #156530
triadic
#226515 #152265 #651522
tetradic
#226515 #154A65 #581565 #653015
square
#226515 #154A65 #581565 #653015
split-complementary
#226515 #301565 #65154A
monochromatic
#091905 #11320A #226515 #339820 #44CA2A
Accessibility & contrast
On white
7.14
#226515 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#226515 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226515
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226515 | 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)
#685B05
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#176256
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #226515; /* rgb */ color: rgb(34, 101, 21); /* oklch */ color: oklch(44.7% 0.131 140.8);
Tailwind
colors: {
custom: {
50: '#679259',
500: '#226515',
950: '#000000',
},
}SCSS
$custom: #226515; $custom-light: #679259; $custom-dark: #000000;
JSON
{
"hex": "#226515",
"rgb": {
"r": 34,
"g": 101,
"b": 21
},
"hsl": {
"h": 110.25,
"s": 65.574,
"l": 23.922
},
"oklch": {
"l": 0.4473,
"c": 0.13053,
"h": 140.8
},
"luminance": 0.09702
}Semantic roles & 50–950 ramp
primary
#226515
secondary
#8C3A9C
accent
#3FE9CD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79