#226728#226728
#226728 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.118 H 144.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #226728 |
|---|---|
| RGB | rgb(34, 103, 40) |
| HSL | hsl(125, 50%, 27%) |
| HSV | hsv(125, 67%, 40%) |
| CMYK | cmyk(67%, 0%, 61.2%, 59.6%) |
| CIE-LAB | lab(38.19, -35.67, 28.86) |
| CIE-LCH | lch(38.19, 45.88, 141.03°) |
| OKLab | oklab(45.52% -0.0966 0.0683) |
| OKLCH | oklch(45.52% 0.118 144.7) |
| XYZ | xyz(5.8926, 10.1932, 3.6640) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.98
Darkgreen
#006400
ΔE00 5.07
Deep Green
#02590F
ΔE00 5.27
Pine
#2B5D34
ΔE00 5.66
Forest
#0B5509
ΔE00 6.42
Spruce
#0A5F38
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226728 #672261
analogous
#3F6722 #226728 #22674B
triadic
#226728 #282267 #672822
tetradic
#226728 #223F67 #672261 #674B22
square
#226728 #223F67 #672261 #674B22
split-complementary
#226728 #4B2267 #67223F
monochromatic
#081709 #133916 #226728 #31953A #43C14E
Accessibility & contrast
On white
6.91
#226728 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#226728 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226728
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226728 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D22
Deuteranopia (green-blind)
#60582D
Tritanopia (blue-blind)
#126459
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #226728; /* rgb */ color: rgb(34, 103, 40); /* oklch */ color: oklch(45.5% 0.118 144.7);
Tailwind
colors: {
custom: {
50: '#669364',
500: '#226728',
950: '#000000',
},
}SCSS
$custom: #226728; $custom-light: #669364; $custom-dark: #000000;
JSON
{
"hex": "#226728",
"rgb": {
"r": 34,
"g": 103,
"b": 40
},
"hsl": {
"h": 125.217,
"s": 50.365,
"l": 26.863
},
"oklch": {
"l": 0.4552,
"c": 0.11832,
"h": 144.7
},
"luminance": 0.10194
}Semantic roles & 50–950 ramp
primary
#226728
secondary
#9B4A94
accent
#4ECEDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A