#21682D#21682D
#21682D is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.115 H 146.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #21682D |
|---|---|
| RGB | rgb(33, 104, 45) |
| HSL | hsl(130, 52%, 27%) |
| HSV | hsv(130, 68%, 41%) |
| CMYK | cmyk(68.3%, 0%, 56.7%, 59.2%) |
| CIE-LAB | lab(38.57, -35.58, 26.66) |
| CIE-LCH | lch(38.57, 44.46, 143.16°) |
| OKLab | oklab(45.85% -0.0961 0.0639) |
| OKLCH | oklch(45.85% 0.115 146.4) |
| XYZ | xyz(6.0508, 10.4128, 4.1731) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.20
Pine
#2B5D34
ΔE00 5.26
Spruce
#0A5F38
ΔE00 5.94
Deep Green
#02590F
ΔE00 5.94
Darkgreen
#006400
ΔE00 5.99
Hunter Green
#355E3B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21682D #68215C
analogous
#396821 #21682D #216851
triadic
#21682D #2D2168 #682D21
tetradic
#21682D #213968 #68215C #685121
square
#21682D #213968 #68215C #685121
split-complementary
#21682D #512168 #682139
monochromatic
#07170A #123A19 #21682D #309641 #41C357
Accessibility & contrast
On white
6.81
#21682D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#21682D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21682D
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21682D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21682D | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F28
Deuteranopia (green-blind)
#615831
Tritanopia (blue-blind)
#0C665B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #21682d; /* rgb */ color: rgb(33, 104, 45); /* oklch */ color: oklch(45.9% 0.115 146.4);
Tailwind
colors: {
custom: {
50: '#669467',
500: '#21682d',
950: '#000000',
},
}SCSS
$custom: #21682d; $custom-light: #669467; $custom-dark: #000000;
JSON
{
"hex": "#21682d",
"rgb": {
"r": 33,
"g": 104,
"b": 45
},
"hsl": {
"h": 130.141,
"s": 51.825,
"l": 26.863
},
"oklch": {
"l": 0.45851,
"c": 0.11543,
"h": 146.4
},
"luminance": 0.10413
}Semantic roles & 50–950 ramp
primary
#21682D
secondary
#9C498E
accent
#4DC3DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A