#226018#226018
#226018 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.3% C 0.122 H 141.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #226018 |
|---|---|
| RGB | rgb(34, 96, 24) |
| HSL | hsl(112, 60%, 24%) |
| HSV | hsv(112, 75%, 38%) |
| CMYK | cmyk(64.6%, 0%, 75%, 62.4%) |
| CIE-LAB | lab(35.54, -34.72, 33.63) |
| CIE-LCH | lch(35.54, 48.34, 135.91°) |
| OKLab | oklab(43.28% -0.0949 0.0766) |
| OKLCH | oklch(43.28% 0.122 141.1) |
| XYZ | xyz(5.0072, 8.7713, 2.2931) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.12
Darkgreen
#006400
ΔE00 3.51
Forest
#0B5509
ΔE00 3.84
Forest Green
#2D5A27
ΔE00 4.34
Navy Green
#35530A
ΔE00 6.50
Pine
#2B5D34
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226018 #561860
analogous
#466018 #226018 #186032
triadic
#226018 #182260 #601822
tetradic
#226018 #184660 #561860 #603218
square
#226018 #184660 #561860 #603218
split-complementary
#226018 #321860 #601846
monochromatic
#091806 #112F0C #226018 #339124 #45C230
Accessibility & contrast
On white
7.62
#226018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#226018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226018
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226018 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#195D52
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #226018; /* rgb */ color: rgb(34, 96, 24); /* oklch */ color: oklch(43.3% 0.122 141.1);
Tailwind
colors: {
custom: {
50: '#668e59',
500: '#226018',
950: '#000000',
},
}SCSS
$custom: #226018; $custom-light: #668e59; $custom-dark: #000000;
JSON
{
"hex": "#226018",
"rgb": {
"r": 34,
"g": 96,
"b": 24
},
"hsl": {
"h": 111.667,
"s": 60,
"l": 23.529
},
"oklch": {
"l": 0.43281,
"c": 0.12198,
"h": 141.1
},
"luminance": 0.08772
}Semantic roles & 50–950 ramp
primary
#226018
secondary
#8A3D96
accent
#45E3CD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79