#226612#226612
#226612 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.134 H 140.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #226612 |
|---|---|
| RGB | rgb(34, 102, 18) |
| HSL | hsl(109, 70%, 24%) |
| HSV | hsv(109, 82%, 40%) |
| CMYK | cmyk(66.7%, 0%, 82.4%, 60%) |
| CIE-LAB | lab(37.64, -37.57, 38.09) |
| CIE-LCH | lch(37.64, 53.50, 134.60°) |
| OKLab | oklab(45% -0.103 0.0851) |
| OKLCH | oklch(45% 0.134 140.4) |
| XYZ | xyz(5.5200, 9.8860, 2.1894) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.35
Deep Green
#02590F
ΔE00 4.88
Forest
#0B5509
ΔE00 5.69
Forest Green
#2D5A27
ΔE00 6.51
Navy Green
#35530A
ΔE00 7.76
Camouflage Green
#4B6113
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226612 #561266
analogous
#4C6612 #226612 #12662C
triadic
#226612 #122266 #661222
tetradic
#226612 #124C66 #561266 #662C12
square
#226612 #124C66 #561266 #662C12
split-complementary
#226612 #2C1266 #66124C
monochromatic
#091A05 #113209 #226612 #339A1B #45CE24
Accessibility & contrast
On white
7.05
#226612 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#226612 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226612
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226612 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226612 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#176256
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #226612; /* rgb */ color: rgb(34, 102, 18); /* oklch */ color: oklch(45.0% 0.134 140.4);
Tailwind
colors: {
custom: {
50: '#679257',
500: '#226612',
950: '#000000',
},
}SCSS
$custom: #226612; $custom-light: #679257; $custom-dark: #000000;
JSON
{
"hex": "#226612",
"rgb": {
"r": 34,
"g": 102,
"b": 18
},
"hsl": {
"h": 108.571,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.45002,
"c": 0.13354,
"h": 140.4
},
"luminance": 0.09886
}Semantic roles & 50–950 ramp
primary
#226612
secondary
#8A369E
accent
#3BEDCB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78