#226A2F#226A2F
#226A2F is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.5% C 0.116 H 146.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #226A2F |
|---|---|
| RGB | rgb(34, 106, 47) |
| HSL | hsl(131, 51%, 27%) |
| HSV | hsv(131, 68%, 42%) |
| CMYK | cmyk(67.9%, 0%, 55.7%, 58.4%) |
| CIE-LAB | lab(39.33, -35.86, 26.51) |
| CIE-LCH | lch(39.33, 44.60, 143.53°) |
| OKLab | oklab(46.49% -0.0969 0.0637) |
| OKLCH | oklch(46.49% 0.116 146.7) |
| XYZ | xyz(6.3264, 10.8527, 4.4502) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 5.66
Forest Green
#2D5A27
ΔE00 5.78
Spruce
#0A5F38
ΔE00 6.21
Darkish Green
#287C37
ΔE00 6.23
Darkgreen
#006400
ΔE00 6.29
Deep Green
#02590F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226A2F #6A225D
analogous
#396A22 #226A2F #226A53
triadic
#226A2F #2F226A #6A2F22
tetradic
#226A2F #22396A #6A225D #6A5322
square
#226A2F #22396A #6A225D #6A5322
split-complementary
#226A2F #53226A #6A2239
monochromatic
#07170A #133C1A #226A2F #319844 #44C35B
Accessibility & contrast
On white
6.62
#226A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#226A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226A2F
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226A2F | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B602A
Deuteranopia (green-blind)
#625A33
Tritanopia (blue-blind)
#0D685D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #226a2f; /* rgb */ color: rgb(34, 106, 47); /* oklch */ color: oklch(46.5% 0.116 146.7);
Tailwind
colors: {
custom: {
50: '#679569',
500: '#226a2f',
950: '#000000',
},
}SCSS
$custom: #226a2f; $custom-light: #679569; $custom-dark: #000000;
JSON
{
"hex": "#226a2f",
"rgb": {
"r": 34,
"g": 106,
"b": 47
},
"hsl": {
"h": 130.833,
"s": 51.429,
"l": 27.451
},
"oklch": {
"l": 0.46494,
"c": 0.11593,
"h": 146.7
},
"luminance": 0.10853
}Semantic roles & 50–950 ramp
primary
#226A2F
secondary
#9E4A8F
accent
#4DC1DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A