#21741F#21741F
#21741F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.143 H 142.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #21741F |
|---|---|
| RGB | rgb(33, 116, 31) |
| HSL | hsl(119, 58%, 29%) |
| HSV | hsv(119, 73%, 45%) |
| CMYK | cmyk(71.6%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.63, -41.95, 38.03) |
| CIE-LCH | lch(42.63, 56.62, 137.81°) |
| OKLab | oklab(49.16% -0.114 0.0868) |
| OKLCH | oklch(49.16% 0.143 142.7) |
| XYZ | xyz(7.1195, 12.9123, 3.4132) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.99
Darkish Green
#287C37
ΔE00 4.26
Green
#008000
ΔE00 5.24
Darkgreen
#006400
ΔE00 5.76
Dark Grass Green
#388004
ΔE00 6.36
Jungle Green
#048243
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21741F #721F74
analogous
#4C741F #21741F #1F7448
triadic
#21741F #1F2174 #741F21
tetradic
#21741F #1F4C74 #721F74 #74481F
square
#21741F #1F4C74 #721F74 #74481F
split-complementary
#21741F #481F74 #741F4C
monochromatic
#071806 #134412 #21741F #2FA42C #44CC41
Accessibility & contrast
On white
5.86
#21741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#21741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21741F
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21741F | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#0B7063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #21741f; /* rgb */ color: rgb(33, 116, 31); /* oklch */ color: oklch(49.2% 0.143 142.7);
Tailwind
colors: {
custom: {
50: '#6a9d60',
500: '#21741f',
950: '#000000',
},
}SCSS
$custom: #21741f; $custom-light: #6a9d60; $custom-dark: #000000;
JSON
{
"hex": "#21741f",
"rgb": {
"r": 33,
"g": 116,
"b": 31
},
"hsl": {
"h": 118.588,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.4916,
"c": 0.1433,
"h": 142.7
},
"luminance": 0.12913
}Semantic roles & 50–950 ramp
primary
#21741F
secondary
#A547A8
accent
#47E1DD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79