#21711B#21711B
#21711B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.142 H 142.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #21711B |
|---|---|
| RGB | rgb(33, 113, 27) |
| HSL | hsl(116, 61%, 27%) |
| HSV | hsv(116, 76%, 44%) |
| CMYK | cmyk(70.8%, 0%, 76.1%, 55.7%) |
| CIE-LAB | lab(41.55, -41.21, 38.56) |
| CIE-LCH | lch(41.55, 56.44, 136.91°) |
| OKLab | oklab(48.26% -0.1122 0.0874) |
| OKLCH | oklch(48.26% 0.142 142.1) |
| XYZ | xyz(6.7298, 12.2120, 3.0392) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.77
Tree Green
#2A7E19
ΔE00 4.78
Darkish Green
#287C37
ΔE00 5.18
Green
#008000
ΔE00 5.91
Dark Grass Green
#388004
ΔE00 6.88
Deep Green
#02590F
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21711B #6B1B71
analogous
#4C711B #21711B #1B7140
triadic
#21711B #1B2171 #711B21
tetradic
#21711B #1B4C71 #6B1B71 #71401B
square
#21711B #1B4C71 #6B1B71 #71401B
split-complementary
#21711B #401B71 #711B4C
monochromatic
#071906 #13400F #21711B #2FA227 #42CF37
Accessibility & contrast
On white
6.10
#21711B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#21711B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21711B
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21711B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21711B | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#6A6024
Tritanopia (blue-blind)
#0E6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #21711b; /* rgb */ color: rgb(33, 113, 27); /* oklch */ color: oklch(48.3% 0.142 142.1);
Tailwind
colors: {
custom: {
50: '#699b5d',
500: '#21711b',
950: '#000000',
},
}SCSS
$custom: #21711b; $custom-light: #699b5d; $custom-dark: #000000;
JSON
{
"hex": "#21711b",
"rgb": {
"r": 33,
"g": 113,
"b": 27
},
"hsl": {
"h": 115.814,
"s": 61.429,
"l": 27.451
},
"oklch": {
"l": 0.48256,
"c": 0.14224,
"h": 142.1
},
"luminance": 0.12213
}Semantic roles & 50–950 ramp
primary
#21711B
secondary
#9F42A6
accent
#43E5D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79