#226A2B#226A2B
#226A2B is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.4% C 0.120 H 145.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #226A2B |
|---|---|
| RGB | rgb(34, 106, 43) |
| HSL | hsl(128, 51%, 27%) |
| HSV | hsv(128, 68%, 42%) |
| CMYK | cmyk(67.9%, 0%, 59.4%, 58.4%) |
| CIE-LAB | lab(39.28, -36.46, 28.58) |
| CIE-LCH | lch(39.28, 46.33, 141.91°) |
| OKLab | oklab(46.43% -0.0986 0.068) |
| OKLCH | oklch(46.43% 0.12 145.4) |
| XYZ | xyz(6.2494, 10.8219, 4.0445) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.52
Forest Green
#2D5A27
ΔE00 5.85
Darkish Green
#287C37
ΔE00 6.15
Pine
#2B5D34
ΔE00 6.18
Deep Green
#02590F
ΔE00 6.18
Spruce
#0A5F38
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226A2B #6A2261
analogous
#3D6A22 #226A2B #226A4F
triadic
#226A2B #2B226A #6A2B22
tetradic
#226A2B #223D6A #6A2261 #6A4F22
square
#226A2B #223D6A #6A2261 #6A4F22
split-complementary
#226A2B #4F226A #6A223D
monochromatic
#071709 #133C18 #226A2B #31983E #44C353
Accessibility & contrast
On white
6.64
#226A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#226A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226A2B
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226A2B | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6025
Deuteranopia (green-blind)
#635A30
Tritanopia (blue-blind)
#0F675C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #226a2b; /* rgb */ color: rgb(34, 106, 43); /* oklch */ color: oklch(46.4% 0.120 145.4);
Tailwind
colors: {
custom: {
50: '#679566',
500: '#226a2b',
950: '#000000',
},
}SCSS
$custom: #226a2b; $custom-light: #679566; $custom-dark: #000000;
JSON
{
"hex": "#226a2b",
"rgb": {
"r": 34,
"g": 106,
"b": 43
},
"hsl": {
"h": 127.5,
"s": 51.429,
"l": 27.451
},
"oklch": {
"l": 0.46434,
"c": 0.11977,
"h": 145.4
},
"luminance": 0.10823
}Semantic roles & 50–950 ramp
primary
#226A2B
secondary
#9E4A93
accent
#4DC9DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A