#22661F#22661F
#22661F is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.125 H 142.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #22661F |
|---|---|
| RGB | rgb(34, 102, 31) |
| HSL | hsl(117, 53%, 26%) |
| HSV | hsv(117, 70%, 40%) |
| CMYK | cmyk(66.7%, 0%, 69.6%, 60%) |
| CIE-LAB | lab(37.74, -36.39, 32.81) |
| CIE-LCH | lch(37.74, 49.00, 137.97°) |
| OKLab | oklab(45.12% -0.099 0.0758) |
| OKLCH | oklch(45.12% 0.125 142.6) |
| XYZ | xyz(5.6581, 9.9412, 2.9167) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.62
Deep Green
#02590F
ΔE00 4.60
Forest Green
#2D5A27
ΔE00 5.30
Forest
#0B5509
ΔE00 5.66
Pine
#2B5D34
ΔE00 6.77
Darkish Green
#287C37
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22661F #631F66
analogous
#45661F #22661F #1F663F
triadic
#22661F #1F2266 #661F22
tetradic
#22661F #1F4566 #631F66 #663F1F
square
#22661F #1F4566 #631F66 #663F1F
split-complementary
#22661F #3F1F66 #661F45
monochromatic
#081707 #123711 #22661F #32952D #41C43C
Accessibility & contrast
On white
7.03
#22661F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#22661F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22661F
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22661F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22661F | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C16
Deuteranopia (green-blind)
#605725
Tritanopia (blue-blind)
#156357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #22661f; /* rgb */ color: rgb(34, 102, 31); /* oklch */ color: oklch(45.1% 0.125 142.6);
Tailwind
colors: {
custom: {
50: '#67925e',
500: '#22661f',
950: '#000000',
},
}SCSS
$custom: #22661f; $custom-light: #67925e; $custom-dark: #000000;
JSON
{
"hex": "#22661f",
"rgb": {
"r": 34,
"g": 102,
"b": 31
},
"hsl": {
"h": 117.465,
"s": 53.383,
"l": 26.078
},
"oklch": {
"l": 0.45117,
"c": 0.12472,
"h": 142.6
},
"luminance": 0.09942
}Semantic roles & 50–950 ramp
primary
#22661F
secondary
#97469A
accent
#4BDDD7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79