#226912#226912
#226912 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.137 H 140.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #226912 |
|---|---|
| RGB | rgb(34, 105, 18) |
| HSL | hsl(109, 71%, 24%) |
| HSV | hsv(109, 83%, 41%) |
| CMYK | cmyk(67.6%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(38.70, -38.70, 39.11) |
| CIE-LCH | lch(38.70, 55.02, 134.70°) |
| OKLab | oklab(45.88% -0.106 0.0872) |
| OKLCH | oklch(45.88% 0.137 140.6) |
| XYZ | xyz(5.8202, 10.4863, 2.2895) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.65
Deep Green
#02590F
ΔE00 5.78
Forest
#0B5509
ΔE00 6.65
Tree Green
#2A7E19
ΔE00 7.21
Forest Green
#2D5A27
ΔE00 7.33
Darkish Green
#287C37
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226912 #591269
analogous
#4E6912 #226912 #12692E
triadic
#226912 #122269 #691222
tetradic
#226912 #124E69 #591269 #692E12
square
#226912 #124E69 #591269 #692E12
split-complementary
#226912 #2E1269 #69124E
monochromatic
#081A04 #113509 #226912 #339D1B #44D124
Accessibility & contrast
On white
6.78
#226912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#226912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226912
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226912 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#166559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226912; /* rgb */ color: rgb(34, 105, 18); /* oklch */ color: oklch(45.9% 0.137 140.6);
Tailwind
colors: {
custom: {
50: '#689558',
500: '#226912',
950: '#000000',
},
}SCSS
$custom: #226912; $custom-light: #689558; $custom-dark: #000000;
JSON
{
"hex": "#226912",
"rgb": {
"r": 34,
"g": 105,
"b": 18
},
"hsl": {
"h": 108.966,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45884,
"c": 0.13726,
"h": 140.6
},
"luminance": 0.10487
}Semantic roles & 50–950 ramp
primary
#226912
secondary
#8D36A1
accent
#3AEDCD
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79