#226829#226829
#226829 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.119 H 145.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #226829 |
|---|---|
| RGB | rgb(34, 104, 41) |
| HSL | hsl(126, 51%, 27%) |
| HSV | hsv(126, 67%, 41%) |
| CMYK | cmyk(67.3%, 0%, 60.6%, 59.2%) |
| CIE-LAB | lab(38.55, -35.94, 28.76) |
| CIE-LCH | lch(38.55, 46.03, 141.33°) |
| OKLab | oklab(45.83% -0.0973 0.0682) |
| OKLCH | oklch(45.83% 0.119 145) |
| XYZ | xyz(6.0099, 10.4002, 3.7881) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.20
Forest Green
#2D5A27
ΔE00 5.26
Deep Green
#02590F
ΔE00 5.57
Pine
#2B5D34
ΔE00 5.82
Spruce
#0A5F38
ΔE00 6.72
Forest
#0B5509
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226829 #682261
analogous
#3E6822 #226829 #22684C
triadic
#226829 #292268 #682922
tetradic
#226829 #223E68 #682261 #684C22
square
#226829 #223E68 #682261 #684C22
split-complementary
#226829 #4C2268 #68223E
monochromatic
#081709 #133A17 #226829 #31963B #43C250
Accessibility & contrast
On white
6.82
#226829 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#226829 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226829
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226829 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226829 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E23
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#11655A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226829; /* rgb */ color: rgb(34, 104, 41); /* oklch */ color: oklch(45.8% 0.119 145.0);
Tailwind
colors: {
custom: {
50: '#679465',
500: '#226829',
950: '#000000',
},
}SCSS
$custom: #226829; $custom-light: #679465; $custom-dark: #000000;
JSON
{
"hex": "#226829",
"rgb": {
"r": 34,
"g": 104,
"b": 41
},
"hsl": {
"h": 126,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.45825,
"c": 0.11881,
"h": 145
},
"luminance": 0.10401
}Semantic roles & 50–950 ramp
primary
#226829
secondary
#9C4A94
accent
#4ECCDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A