#226012#226012
#226012 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.126 H 140.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #226012 |
|---|---|
| RGB | rgb(34, 96, 18) |
| HSL | hsl(108, 68%, 22%) |
| HSV | hsv(108, 81%, 38%) |
| CMYK | cmyk(64.6%, 0%, 81.3%, 62.4%) |
| CIE-LAB | lab(35.50, -35.23, 36.02) |
| CIE-LCH | lch(35.50, 50.38, 134.36°) |
| OKLab | oklab(43.23% -0.0967 0.0807) |
| OKLCH | oklch(43.23% 0.126 140.1) |
| XYZ | xyz(4.9515, 8.7490, 1.9999) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.99
Deep Green
#02590F
ΔE00 3.33
Forest
#0B5509
ΔE00 3.87
Forest Green
#2D5A27
ΔE00 5.05
Navy Green
#35530A
ΔE00 6.23
Bottle Green
#044A05
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226012 #501260
analogous
#496012 #226012 #126029
triadic
#226012 #122260 #601222
tetradic
#226012 #124960 #501260 #602912
square
#226012 #124960 #501260 #602912
split-complementary
#226012 #291260 #601249
monochromatic
#091A05 #102C08 #226012 #34941C #47C725
Accessibility & contrast
On white
7.64
#226012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#226012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226012
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226012 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#1A5D51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #226012; /* rgb */ color: rgb(34, 96, 18); /* oklch */ color: oklch(43.2% 0.126 140.1);
Tailwind
colors: {
custom: {
50: '#668e56',
500: '#226012',
950: '#000000',
},
}SCSS
$custom: #226012; $custom-light: #668e56; $custom-dark: #000000;
JSON
{
"hex": "#226012",
"rgb": {
"r": 34,
"g": 96,
"b": 18
},
"hsl": {
"h": 107.692,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43231,
"c": 0.12593,
"h": 140.1
},
"luminance": 0.08749
}Semantic roles & 50–950 ramp
primary
#226012
secondary
#843698
accent
#3DEBC7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78