#21661C#21661C
#21661C is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.127 H 142.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #21661C |
|---|---|
| RGB | rgb(33, 102, 28) |
| HSL | hsl(116, 57%, 25%) |
| HSV | hsv(116, 73%, 40%) |
| CMYK | cmyk(67.6%, 0%, 72.5%, 60%) |
| CIE-LAB | lab(37.68, -36.96, 34.11) |
| CIE-LCH | lch(37.68, 50.29, 137.29°) |
| OKLab | oklab(45.05% -0.1007 0.0782) |
| OKLCH | oklch(45.05% 0.127 142.2) |
| XYZ | xyz(5.5879, 9.9094, 2.7166) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.17
Deep Green
#02590F
ΔE00 4.54
Forest
#0B5509
ΔE00 5.57
Forest Green
#2D5A27
ΔE00 5.60
Pine
#2B5D34
ΔE00 7.20
Darkish Green
#287C37
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21661C #611C66
analogous
#46661C #21661C #1C663C
triadic
#21661C #1C2166 #661C21
tetradic
#21661C #1C4666 #611C66 #663C1C
square
#21661C #1C4666 #611C66 #663C1C
split-complementary
#21661C #3C1C66 #661C46
monochromatic
#081807 #11360F #21661C #319629 #40C636
Accessibility & contrast
On white
7.04
#21661C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#21661C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21661C
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21661C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21661C | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C11
Deuteranopia (green-blind)
#605623
Tritanopia (blue-blind)
#146357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #21661c; /* rgb */ color: rgb(33, 102, 28); /* oklch */ color: oklch(45.1% 0.127 142.2);
Tailwind
colors: {
custom: {
50: '#66925c',
500: '#21661c',
950: '#000000',
},
}SCSS
$custom: #21661c; $custom-light: #66925c; $custom-dark: #000000;
JSON
{
"hex": "#21661c",
"rgb": {
"r": 33,
"g": 102,
"b": 28
},
"hsl": {
"h": 115.946,
"s": 56.923,
"l": 25.49
},
"oklch": {
"l": 0.45052,
"c": 0.12747,
"h": 142.2
},
"luminance": 0.0991
}Semantic roles & 50–950 ramp
primary
#21661C
secondary
#95439B
accent
#48E0D6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79