#22671F#22671F
#22671F is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.126 H 142.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #22671F |
|---|---|
| RGB | rgb(34, 103, 31) |
| HSL | hsl(118, 54%, 26%) |
| HSV | hsv(118, 70%, 40%) |
| CMYK | cmyk(67%, 0%, 69.9%, 59.6%) |
| CIE-LAB | lab(38.09, -36.79, 33.19) |
| CIE-LCH | lch(38.09, 49.55, 137.94°) |
| OKLab | oklab(45.41% -0.1001 0.0766) |
| OKLCH | oklch(45.41% 0.126 142.6) |
| XYZ | xyz(5.7569, 10.1389, 2.9497) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.58
Deep Green
#02590F
ΔE00 4.87
Forest Green
#2D5A27
ΔE00 5.62
Forest
#0B5509
ΔE00 5.95
Pine
#2B5D34
ΔE00 7.02
Darkish Green
#287C37
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22671F #641F67
analogous
#46671F #22671F #1F6740
triadic
#22671F #1F2267 #671F22
tetradic
#22671F #1F4667 #641F67 #67401F
square
#22671F #1F4667 #641F67 #67401F
split-complementary
#22671F #401F67 #671F46
monochromatic
#081807 #123811 #22671F #32962D #42C43C
Accessibility & contrast
On white
6.94
#22671F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#22671F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22671F
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22671F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22671F | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#146458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #22671f; /* rgb */ color: rgb(34, 103, 31); /* oklch */ color: oklch(45.4% 0.126 142.6);
Tailwind
colors: {
custom: {
50: '#67935e',
500: '#22671f',
950: '#000000',
},
}SCSS
$custom: #22671f; $custom-light: #67935e; $custom-dark: #000000;
JSON
{
"hex": "#22671f",
"rgb": {
"r": 34,
"g": 103,
"b": 31
},
"hsl": {
"h": 117.5,
"s": 53.731,
"l": 26.275
},
"oklch": {
"l": 0.45409,
"c": 0.12606,
"h": 142.6
},
"luminance": 0.1014
}Semantic roles & 50–950 ramp
primary
#22671F
secondary
#98469B
accent
#4BDDD7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79