#21671C#21671C
#21671C is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.129 H 142.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #21671C |
|---|---|
| RGB | rgb(33, 103, 28) |
| HSL | hsl(116, 57%, 26%) |
| HSV | hsv(116, 73%, 40%) |
| CMYK | cmyk(68%, 0%, 72.8%, 59.6%) |
| CIE-LAB | lab(38.03, -37.35, 34.49) |
| CIE-LCH | lch(38.03, 50.83, 137.28°) |
| OKLab | oklab(45.35% -0.1017 0.079) |
| OKLCH | oklch(45.35% 0.129 142.2) |
| XYZ | xyz(5.6867, 10.1071, 2.7496) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.16
Deep Green
#02590F
ΔE00 4.83
Forest
#0B5509
ΔE00 5.88
Forest Green
#2D5A27
ΔE00 5.90
Pine
#2B5D34
ΔE00 7.44
Darkish Green
#287C37
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21671C #621C67
analogous
#46671C #21671C #1C673C
triadic
#21671C #1C2167 #671C21
tetradic
#21671C #1C4667 #621C67 #673C1C
square
#21671C #1C4667 #621C67 #673C1C
split-complementary
#21671C #3C1C67 #671C46
monochromatic
#081807 #12370F #21671C #309729 #40C736
Accessibility & contrast
On white
6.95
#21671C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#21671C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21671C
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21671C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21671C | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#136458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #21671c; /* rgb */ color: rgb(33, 103, 28); /* oklch */ color: oklch(45.3% 0.129 142.2);
Tailwind
colors: {
custom: {
50: '#67935d',
500: '#21671c',
950: '#000000',
},
}SCSS
$custom: #21671c; $custom-light: #67935d; $custom-dark: #000000;
JSON
{
"hex": "#21671c",
"rgb": {
"r": 33,
"g": 103,
"b": 28
},
"hsl": {
"h": 116,
"s": 57.252,
"l": 25.686
},
"oklch": {
"l": 0.45345,
"c": 0.12878,
"h": 142.2
},
"luminance": 0.10108
}Semantic roles & 50–950 ramp
primary
#21671C
secondary
#96439C
accent
#47E1D6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79