#226A2C#226A2C
#226A2C is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.4% C 0.119 H 145.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #226A2C |
|---|---|
| RGB | rgb(34, 106, 44) |
| HSL | hsl(128, 51%, 27%) |
| HSV | hsv(128, 68%, 42%) |
| CMYK | cmyk(67.9%, 0%, 58.5%, 58.4%) |
| CIE-LAB | lab(39.29, -36.32, 28.07) |
| CIE-LCH | lch(39.29, 45.90, 142.31°) |
| OKLab | oklab(46.45% -0.0982 0.0669) |
| OKLCH | oklch(46.45% 0.119 145.7) |
| XYZ | xyz(6.2679, 10.8294, 4.1423) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.70
Forest Green
#2D5A27
ΔE00 5.82
Pine
#2B5D34
ΔE00 6.04
Darkish Green
#287C37
ΔE00 6.16
Deep Green
#02590F
ΔE00 6.26
Spruce
#0A5F38
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226A2C #6A2260
analogous
#3C6A22 #226A2C #226A50
triadic
#226A2C #2C226A #6A2C22
tetradic
#226A2C #223C6A #6A2260 #6A5022
square
#226A2C #223C6A #6A2260 #6A5022
split-complementary
#226A2C #50226A #6A223C
monochromatic
#07170A #133C19 #226A2C #31983F #44C355
Accessibility & contrast
On white
6.63
#226A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#226A2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226A2C
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226A2C | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6026
Deuteranopia (green-blind)
#635A31
Tritanopia (blue-blind)
#0E675C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #226a2c; /* rgb */ color: rgb(34, 106, 44); /* oklch */ color: oklch(46.4% 0.119 145.7);
Tailwind
colors: {
custom: {
50: '#679567',
500: '#226a2c',
950: '#000000',
},
}SCSS
$custom: #226a2c; $custom-light: #679567; $custom-dark: #000000;
JSON
{
"hex": "#226a2c",
"rgb": {
"r": 34,
"g": 106,
"b": 44
},
"hsl": {
"h": 128.333,
"s": 51.429,
"l": 27.451
},
"oklch": {
"l": 0.46448,
"c": 0.11882,
"h": 145.7
},
"luminance": 0.1083
}Semantic roles & 50–950 ramp
primary
#226A2C
secondary
#9E4A92
accent
#4DC7DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A