#21682B#21682B
#21682B is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.117 H 145.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #21682B |
|---|---|
| RGB | rgb(33, 104, 43) |
| HSL | hsl(128, 52%, 27%) |
| HSV | hsv(128, 68%, 41%) |
| CMYK | cmyk(68.3%, 0%, 58.7%, 59.2%) |
| CIE-LAB | lab(38.55, -35.88, 27.70) |
| CIE-LCH | lch(38.55, 45.33, 142.34°) |
| OKLab | oklab(45.82% -0.097 0.0661) |
| OKLCH | oklch(45.82% 0.117 145.7) |
| XYZ | xyz(6.0132, 10.3978, 3.9751) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.24
Pine
#2B5D34
ΔE00 5.54
Darkgreen
#006400
ΔE00 5.58
Deep Green
#02590F
ΔE00 5.73
Spruce
#0A5F38
ΔE00 6.31
Darkish Green
#287C37
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21682B #68215E
analogous
#3B6821 #21682B #21684F
triadic
#21682B #2B2168 #682B21
tetradic
#21682B #213B68 #68215E #684F21
square
#21682B #213B68 #68215E #684F21
split-complementary
#21682B #4F2168 #68213B
monochromatic
#07170A #123A18 #21682B #30963E #41C353
Accessibility & contrast
On white
6.82
#21682B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#21682B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21682B
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21682B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21682B | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E25
Deuteranopia (green-blind)
#615830
Tritanopia (blue-blind)
#0D655A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #21682b; /* rgb */ color: rgb(33, 104, 43); /* oklch */ color: oklch(45.8% 0.117 145.7);
Tailwind
colors: {
custom: {
50: '#669466',
500: '#21682b',
950: '#000000',
},
}SCSS
$custom: #21682b; $custom-light: #669466; $custom-dark: #000000;
JSON
{
"hex": "#21682b",
"rgb": {
"r": 33,
"g": 104,
"b": 43
},
"hsl": {
"h": 128.451,
"s": 51.825,
"l": 26.863
},
"oklch": {
"l": 0.45821,
"c": 0.11735,
"h": 145.7
},
"luminance": 0.10398
}Semantic roles & 50–950 ramp
primary
#21682B
secondary
#9C4990
accent
#4DC7DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A