#21682F#21682F
#21682F is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.113 H 147.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #21682F |
|---|---|
| RGB | rgb(33, 104, 47) |
| HSL | hsl(132, 52%, 27%) |
| HSV | hsv(132, 68%, 41%) |
| CMYK | cmyk(68.3%, 0%, 54.8%, 59.2%) |
| CIE-LAB | lab(38.60, -35.27, 25.61) |
| CIE-LCH | lch(38.60, 43.59, 144.02°) |
| OKLab | oklab(45.88% -0.0952 0.0617) |
| OKLCH | oklch(45.88% 0.113 147) |
| XYZ | xyz(6.0902, 10.4286, 4.3807) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.99
Forest Green
#2D5A27
ΔE00 5.21
Spruce
#0A5F38
ΔE00 5.57
Deep Green
#02590F
ΔE00 6.18
Darkgreen
#006400
ΔE00 6.41
Hunter Green
#355E3B
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21682F #68215A
analogous
#376821 #21682F #216853
triadic
#21682F #2F2168 #682F21
tetradic
#21682F #213768 #68215A #685321
square
#21682F #213768 #68215A #685321
split-complementary
#21682F #532168 #682137
monochromatic
#07170A #123A1A #21682F #309644 #41C35A
Accessibility & contrast
On white
6.81
#21682F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#21682F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21682F
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21682F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21682F | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F2A
Deuteranopia (green-blind)
#605833
Tritanopia (blue-blind)
#0B665B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #21682f; /* rgb */ color: rgb(33, 104, 47); /* oklch */ color: oklch(45.9% 0.113 147.0);
Tailwind
colors: {
custom: {
50: '#669469',
500: '#21682f',
950: '#000000',
},
}SCSS
$custom: #21682f; $custom-light: #669469; $custom-dark: #000000;
JSON
{
"hex": "#21682f",
"rgb": {
"r": 33,
"g": 104,
"b": 47
},
"hsl": {
"h": 131.831,
"s": 51.825,
"l": 26.863
},
"oklch": {
"l": 0.45883,
"c": 0.11347,
"h": 147
},
"luminance": 0.10429
}Semantic roles & 50–950 ramp
primary
#21682F
secondary
#9C498C
accent
#4DBFDB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A