#226729#226729
#226729 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.117 H 145.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #226729 |
|---|---|
| RGB | rgb(34, 103, 41) |
| HSL | hsl(126, 50%, 27%) |
| HSV | hsv(126, 67%, 40%) |
| CMYK | cmyk(67%, 0%, 60.2%, 59.6%) |
| CIE-LAB | lab(38.20, -35.53, 28.35) |
| CIE-LCH | lch(38.20, 45.46, 141.42°) |
| OKLab | oklab(45.53% -0.0962 0.0673) |
| OKLCH | oklch(45.53% 0.117 145) |
| XYZ | xyz(5.9098, 10.2001, 3.7548) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.94
Darkgreen
#006400
ΔE00 5.26
Deep Green
#02590F
ΔE00 5.36
Pine
#2B5D34
ΔE00 5.51
Spruce
#0A5F38
ΔE00 6.47
Forest
#0B5509
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226729 #672260
analogous
#3E6722 #226729 #22674C
triadic
#226729 #292267 #672922
tetradic
#226729 #223E67 #672260 #674C22
square
#226729 #223E67 #672260 #674C22
split-complementary
#226729 #4C2267 #67223E
monochromatic
#081709 #133917 #226729 #31953B #43C14F
Accessibility & contrast
On white
6.91
#226729 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#226729 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226729
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226729 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226729 | 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)
#695D23
Deuteranopia (green-blind)
#60582E
Tritanopia (blue-blind)
#116459
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #226729; /* rgb */ color: rgb(34, 103, 41); /* oklch */ color: oklch(45.5% 0.117 145.0);
Tailwind
colors: {
custom: {
50: '#669365',
500: '#226729',
950: '#000000',
},
}SCSS
$custom: #226729; $custom-light: #669365; $custom-dark: #000000;
JSON
{
"hex": "#226729",
"rgb": {
"r": 34,
"g": 103,
"b": 41
},
"hsl": {
"h": 126.087,
"s": 50.365,
"l": 26.863
},
"oklch": {
"l": 0.45534,
"c": 0.11739,
"h": 145
},
"luminance": 0.10201
}Semantic roles & 50–950 ramp
primary
#226729
secondary
#9B4A93
accent
#4ECCDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A