#226418#226418
#226418 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.127 H 141.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #226418 |
|---|---|
| RGB | rgb(34, 100, 24) |
| HSL | hsl(112, 61%, 24%) |
| HSV | hsv(112, 76%, 39%) |
| CMYK | cmyk(66%, 0%, 76%, 60.8%) |
| CIE-LAB | lab(36.97, -36.31, 35.11) |
| CIE-LCH | lch(36.97, 50.51, 135.96°) |
| OKLab | oklab(44.46% -0.0992 0.0797) |
| OKLCH | oklch(44.46% 0.127 141.2) |
| XYZ | xyz(5.3815, 9.5199, 2.4179) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.87
Deep Green
#02590F
ΔE00 4.09
Forest
#0B5509
ΔE00 4.97
Forest Green
#2D5A27
ΔE00 5.39
Pine
#2B5D34
ΔE00 7.34
Navy Green
#35530A
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226418 #5A1864
analogous
#486418 #226418 #186434
triadic
#226418 #182264 #641822
tetradic
#226418 #184864 #5A1864 #643418
square
#226418 #184864 #5A1864 #643418
split-complementary
#226418 #341864 #641848
monochromatic
#081906 #11330C #226418 #339524 #44C730
Accessibility & contrast
On white
7.23
#226418 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#226418 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226418
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226418 | 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)
#675A0B
Deuteranopia (green-blind)
#5F5520
Tritanopia (blue-blind)
#176155
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #226418; /* rgb */ color: rgb(34, 100, 24); /* oklch */ color: oklch(44.5% 0.127 141.2);
Tailwind
colors: {
custom: {
50: '#67915a',
500: '#226418',
950: '#000000',
},
}SCSS
$custom: #226418; $custom-light: #67915a; $custom-dark: #000000;
JSON
{
"hex": "#226418",
"rgb": {
"r": 34,
"g": 100,
"b": 24
},
"hsl": {
"h": 112.105,
"s": 61.29,
"l": 24.314
},
"oklch": {
"l": 0.44461,
"c": 0.12727,
"h": 141.2
},
"luminance": 0.0952
}Semantic roles & 50–950 ramp
primary
#226418
secondary
#8E3E9A
accent
#43E4CF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79