#226831#226831
#226831 is a mid, moderate green. Relative luminance 0.105; OKLCH L 45.9% C 0.111 H 147.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #226831 |
|---|---|
| RGB | rgb(34, 104, 49) |
| HSL | hsl(133, 51%, 27%) |
| HSV | hsv(133, 67%, 41%) |
| CMYK | cmyk(67.3%, 0%, 52.9%, 59.2%) |
| CIE-LAB | lab(38.66, -34.72, 24.58) |
| CIE-LCH | lch(38.66, 42.54, 144.69°) |
| OKLab | oklab(45.95% -0.0937 0.0596) |
| OKLCH | oklch(45.95% 0.111 147.6) |
| XYZ | xyz(6.1639, 10.4618, 4.5996) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.72
Forest Green
#2D5A27
ΔE00 5.20
Spruce
#0A5F38
ΔE00 5.25
Hunter Green
#355E3B
ΔE00 6.18
Deep Green
#02590F
ΔE00 6.47
Darkgreen
#006400
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226831 #682259
analogous
#366822 #226831 #226854
triadic
#226831 #312268 #683122
tetradic
#226831 #223668 #682259 #685422
square
#226831 #223668 #682259 #685422
split-complementary
#226831 #542268 #682236
monochromatic
#08170B #133A1B #226831 #319647 #43C25E
Accessibility & contrast
On white
6.79
#226831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#226831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226831
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226831 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F2C
Deuteranopia (green-blind)
#605935
Tritanopia (blue-blind)
#0D665B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226831; /* rgb */ color: rgb(34, 104, 49); /* oklch */ color: oklch(45.9% 0.111 147.6);
Tailwind
colors: {
custom: {
50: '#66946a',
500: '#226831',
950: '#000000',
},
}SCSS
$custom: #226831; $custom-light: #66946a; $custom-dark: #000000;
JSON
{
"hex": "#226831",
"rgb": {
"r": 34,
"g": 104,
"b": 49
},
"hsl": {
"h": 132.857,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.45948,
"c": 0.11105,
"h": 147.6
},
"luminance": 0.10462
}Semantic roles & 50–950 ramp
primary
#226831
secondary
#9C4A8A
accent
#4EBCDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A