#21671F#21671F
#21671F is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.126 H 142.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #21671F |
|---|---|
| RGB | rgb(33, 103, 31) |
| HSL | hsl(118, 54%, 26%) |
| HSV | hsv(118, 70%, 40%) |
| CMYK | cmyk(68%, 0%, 69.9%, 59.6%) |
| CIE-LAB | lab(38.06, -37.03, 33.15) |
| CIE-LCH | lch(38.06, 49.70, 138.16°) |
| OKLab | oklab(45.38% -0.1007 0.0766) |
| OKLCH | oklch(45.38% 0.126 142.7) |
| XYZ | xyz(5.7244, 10.1222, 2.9482) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.56
Deep Green
#02590F
ΔE00 4.84
Forest Green
#2D5A27
ΔE00 5.64
Forest
#0B5509
ΔE00 5.93
Pine
#2B5D34
ΔE00 7.02
Darkish Green
#287C37
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21671F #651F67
analogous
#45671F #21671F #1F6741
triadic
#21671F #1F2167 #671F21
tetradic
#21671F #1F4567 #651F67 #67411F
square
#21671F #1F4567 #651F67 #67411F
split-complementary
#21671F #411F67 #671F45
monochromatic
#081807 #123811 #21671F #30962D #40C43C
Accessibility & contrast
On white
6.94
#21671F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#21671F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21671F
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21671F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21671F | 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)
#695D16
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#126458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #21671f; /* rgb */ color: rgb(33, 103, 31); /* oklch */ color: oklch(45.4% 0.126 142.7);
Tailwind
colors: {
custom: {
50: '#66935e',
500: '#21671f',
950: '#000000',
},
}SCSS
$custom: #21671f; $custom-light: #66935e; $custom-dark: #000000;
JSON
{
"hex": "#21671f",
"rgb": {
"r": 33,
"g": 103,
"b": 31
},
"hsl": {
"h": 118.333,
"s": 53.731,
"l": 26.275
},
"oklch": {
"l": 0.45376,
"c": 0.12648,
"h": 142.7
},
"luminance": 0.10123
}Semantic roles & 50–950 ramp
primary
#21671F
secondary
#99469B
accent
#4BDDD9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79