#22671C#22671C
#22671C is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.128 H 142.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #22671C |
|---|---|
| RGB | rgb(34, 103, 28) |
| HSL | hsl(115, 57%, 26%) |
| HSV | hsv(115, 73%, 40%) |
| CMYK | cmyk(67%, 0%, 72.8%, 59.6%) |
| CIE-LAB | lab(38.06, -37.10, 34.53) |
| CIE-LCH | lch(38.06, 50.68, 137.06°) |
| OKLab | oklab(45.38% -0.1011 0.0791) |
| OKLCH | oklch(45.38% 0.128 142) |
| XYZ | xyz(5.7192, 10.1239, 2.7511) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.20
Deep Green
#02590F
ΔE00 4.88
Forest Green
#2D5A27
ΔE00 5.88
Forest
#0B5509
ΔE00 5.90
Pine
#2B5D34
ΔE00 7.44
Darkish Green
#287C37
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22671C #611C67
analogous
#47671C #22671C #1C673B
triadic
#22671C #1C2267 #671C22
tetradic
#22671C #1C4767 #611C67 #673B1C
square
#22671C #1C4767 #611C67 #673B1C
split-complementary
#22671C #3B1C67 #671C47
monochromatic
#081807 #12370F #22671C #329729 #42C736
Accessibility & contrast
On white
6.94
#22671C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#22671C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22671C
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22671C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22671C | 1.00 | 6.94 | 3.02 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#156458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #22671c; /* rgb */ color: rgb(34, 103, 28); /* oklch */ color: oklch(45.4% 0.128 142.0);
Tailwind
colors: {
custom: {
50: '#67935d',
500: '#22671c',
950: '#000000',
},
}SCSS
$custom: #22671c; $custom-light: #67935d; $custom-dark: #000000;
JSON
{
"hex": "#22671c",
"rgb": {
"r": 34,
"g": 103,
"b": 28
},
"hsl": {
"h": 115.2,
"s": 57.252,
"l": 25.686
},
"oklch": {
"l": 0.45379,
"c": 0.12835,
"h": 142
},
"luminance": 0.10124
}Semantic roles & 50–950 ramp
primary
#22671C
secondary
#95439C
accent
#47E1D4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79