#226726#226726
#226726 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.120 H 144.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #226726 |
|---|---|
| RGB | rgb(34, 103, 38) |
| HSL | hsl(123, 50%, 27%) |
| HSV | hsv(123, 67%, 40%) |
| CMYK | cmyk(67%, 0%, 63.1%, 59.6%) |
| CIE-LAB | lab(38.16, -35.94, 29.86) |
| CIE-LCH | lch(38.16, 46.73, 140.28°) |
| OKLab | oklab(45.49% -0.0974 0.0703) |
| OKLCH | oklch(45.49% 0.12 144.2) |
| XYZ | xyz(5.8594, 10.1799, 3.4895) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.70
Forest Green
#2D5A27
ΔE00 5.09
Deep Green
#02590F
ΔE00 5.13
Pine
#2B5D34
ΔE00 5.97
Forest
#0B5509
ΔE00 6.27
Spruce
#0A5F38
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226726 #672263
analogous
#416722 #226726 #226749
triadic
#226726 #262267 #672622
tetradic
#226726 #224167 #672263 #674922
square
#226726 #224167 #672263 #674922
split-complementary
#226726 #492267 #672241
monochromatic
#081708 #133915 #226726 #319537 #43C14A
Accessibility & contrast
On white
6.92
#226726 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#226726 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226726
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226726 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226726 | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D1F
Deuteranopia (green-blind)
#60582B
Tritanopia (blue-blind)
#126459
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #226726; /* rgb */ color: rgb(34, 103, 38); /* oklch */ color: oklch(45.5% 0.120 144.2);
Tailwind
colors: {
custom: {
50: '#669363',
500: '#226726',
950: '#000000',
},
}SCSS
$custom: #226726; $custom-light: #669363; $custom-dark: #000000;
JSON
{
"hex": "#226726",
"rgb": {
"r": 34,
"g": 103,
"b": 38
},
"hsl": {
"h": 123.478,
"s": 50.365,
"l": 26.863
},
"oklch": {
"l": 0.45493,
"c": 0.12014,
"h": 144.2
},
"luminance": 0.10181
}Semantic roles & 50–950 ramp
primary
#226726
secondary
#9B4A96
accent
#4ED2DA
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79