#226642#226642
#226642 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.7% C 0.090 H 156.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #226642 |
|---|---|
| RGB | rgb(34, 102, 66) |
| HSL | hsl(148, 50%, 27%) |
| HSV | hsv(148, 67%, 40%) |
| CMYK | cmyk(66.7%, 0%, 35.3%, 60%) |
| CIE-LAB | lab(38.26, -30.54, 14.24) |
| CIE-LCH | lch(38.26, 33.69, 155.00°) |
| OKLab | oklab(45.72% -0.083 0.0359) |
| OKLCH | oklch(45.72% 0.09 156.6) |
| XYZ | xyz(6.3939, 10.2355, 6.7919) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.01
Pine
#2B5D34
ΔE00 4.22
Hunter Green
#355E3B
ΔE00 4.47
Forest Green
#2D5A27
ΔE00 7.13
Dark Green Blue
#1F6357
ΔE00 8.67
Evergreen
#05472A
ΔE00 9.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226642 #662246
analogous
#246622 #226642 #226664
triadic
#226642 #422266 #664222
tetradic
#226642 #222466 #662246 #666422
square
#226642 #222466 #662246 #666422
split-complementary
#226642 #642266 #662224
monochromatic
#08170F #133824 #226642 #319460 #42C07E
Accessibility & contrast
On white
6.89
#226642 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#226642 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226642
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226642 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655E40
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#00655D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #226642; /* rgb */ color: rgb(34, 102, 66); /* oklch */ color: oklch(45.7% 0.090 156.6);
Tailwind
colors: {
custom: {
50: '#659276',
500: '#226642',
950: '#000000',
},
}SCSS
$custom: #226642; $custom-light: #659276; $custom-dark: #000000;
JSON
{
"hex": "#226642",
"rgb": {
"r": 34,
"g": 102,
"b": 66
},
"hsl": {
"h": 148.235,
"s": 50,
"l": 26.667
},
"oklch": {
"l": 0.4572,
"c": 0.09042,
"h": 156.6
},
"luminance": 0.10236
}Semantic roles & 50–950 ramp
primary
#226642
secondary
#9A4A74
accent
#4E98DA
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B