#21741C#21741C
#21741C is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.145 H 142.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #21741C |
|---|---|
| RGB | rgb(33, 116, 28) |
| HSL | hsl(117, 61%, 28%) |
| HSV | hsv(117, 76%, 45%) |
| CMYK | cmyk(71.6%, 0%, 75.9%, 54.5%) |
| CIE-LAB | lab(42.61, -42.22, 39.23) |
| CIE-LCH | lch(42.61, 57.64, 137.10°) |
| OKLab | oklab(49.13% -0.1149 0.0889) |
| OKLCH | oklch(49.13% 0.145 142.3) |
| XYZ | xyz(7.0818, 12.8972, 3.2146) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.81
Darkish Green
#287C37
ΔE00 4.59
Green
#008000
ΔE00 5.00
Darkgreen
#006400
ΔE00 5.66
Dark Grass Green
#388004
ΔE00 6.09
Jungle Green
#048243
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21741C #6F1C74
analogous
#4D741C #21741C #1C7443
triadic
#21741C #1C2174 #741C21
tetradic
#21741C #1C4D74 #6F1C74 #74431C
square
#21741C #1C4D74 #6F1C74 #74431C
split-complementary
#21741C #431C74 #741C4D
monochromatic
#071906 #134310 #21741C #2FA528 #43D03B
Accessibility & contrast
On white
5.87
#21741C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#21741C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21741C
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21741C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21741C | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77690C
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#0C7063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #21741c; /* rgb */ color: rgb(33, 116, 28); /* oklch */ color: oklch(49.1% 0.145 142.3);
Tailwind
colors: {
custom: {
50: '#6a9d5e',
500: '#21741c',
950: '#000000',
},
}SCSS
$custom: #21741c; $custom-light: #6a9d5e; $custom-dark: #000000;
JSON
{
"hex": "#21741c",
"rgb": {
"r": 33,
"g": 116,
"b": 28
},
"hsl": {
"h": 116.591,
"s": 61.111,
"l": 28.235
},
"oklch": {
"l": 0.49134,
"c": 0.14531,
"h": 142.3
},
"luminance": 0.12898
}Semantic roles & 50–950 ramp
primary
#21741C
secondary
#A343A8
accent
#44E4DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79