#226929#226929
#226929 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.120 H 144.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #226929 |
|---|---|
| RGB | rgb(34, 105, 41) |
| HSL | hsl(126, 51%, 27%) |
| HSV | hsv(126, 68%, 41%) |
| CMYK | cmyk(67.6%, 0%, 61%, 58.8%) |
| CIE-LAB | lab(38.90, -36.34, 29.18) |
| CIE-LCH | lch(38.90, 46.61, 141.24°) |
| OKLab | oklab(46.12% -0.0984 0.0691) |
| OKLCH | oklch(46.12% 0.12 144.9) |
| XYZ | xyz(6.1111, 10.6027, 3.8219) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.17
Forest Green
#2D5A27
ΔE00 5.60
Deep Green
#02590F
ΔE00 5.80
Pine
#2B5D34
ΔE00 6.13
Darkish Green
#287C37
ΔE00 6.48
Spruce
#0A5F38
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226929 #692262
analogous
#3F6922 #226929 #22694C
triadic
#226929 #292269 #692922
tetradic
#226929 #223F69 #692262 #694C22
square
#226929 #223F69 #692262 #694C22
split-complementary
#226929 #4C2269 #69223F
monochromatic
#071709 #133B17 #226929 #31973B #43C250
Accessibility & contrast
On white
6.73
#226929 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#226929 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226929
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226929 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226929 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F23
Deuteranopia (green-blind)
#62592E
Tritanopia (blue-blind)
#10665B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #226929; /* rgb */ color: rgb(34, 105, 41); /* oklch */ color: oklch(46.1% 0.120 144.9);
Tailwind
colors: {
custom: {
50: '#679565',
500: '#226929',
950: '#000000',
},
}SCSS
$custom: #226929; $custom-light: #679565; $custom-dark: #000000;
JSON
{
"hex": "#226929",
"rgb": {
"r": 34,
"g": 105,
"b": 41
},
"hsl": {
"h": 125.915,
"s": 51.079,
"l": 27.255
},
"oklch": {
"l": 0.46115,
"c": 0.12022,
"h": 144.9
},
"luminance": 0.10603
}Semantic roles & 50–950 ramp
primary
#226929
secondary
#9D4A95
accent
#4DCDDB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A