#21793E#21793E
#21793E is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.123 H 150.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #21793E |
|---|---|
| RGB | rgb(33, 121, 62) |
| HSL | hsl(140, 57%, 30%) |
| HSV | hsv(140, 73%, 47%) |
| CMYK | cmyk(72.7%, 0%, 48.8%, 52.5%) |
| CIE-LAB | lab(44.72, -39.61, 25.01) |
| CIE-LCH | lch(44.72, 46.85, 147.73°) |
| OKLab | oklab(51.01% -0.1067 0.0612) |
| OKLCH | oklch(51.01% 0.123 150.2) |
| XYZ | xyz(8.3334, 14.3450, 6.8862) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.42
Jungle Green
#048243
ΔE00 3.34
Sea Green
#2E8B57
ΔE00 7.15
Tree Green
#2A7E19
ΔE00 7.34
Dark Sea Green
#11875D
ΔE00 7.42
Green
#008000
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21793E #79215C
analogous
#307921 #21793E #21796A
triadic
#21793E #3E2179 #793E21
tetradic
#21793E #213079 #79215C #796A21
square
#21793E #213079 #79215C #796A21
split-complementary
#21793E #6A2179 #792130
monochromatic
#07190D #144925 #21793E #2EA957 #47CD73
Accessibility & contrast
On white
5.43
#21793E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#21793E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21793E
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21793E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21793E | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6E39
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #21793e; /* rgb */ color: rgb(33, 121, 62); /* oklch */ color: oklch(51.0% 0.123 150.2);
Tailwind
colors: {
custom: {
50: '#69a074',
500: '#21793e',
950: '#000000',
},
}SCSS
$custom: #21793e; $custom-light: #69a074; $custom-dark: #000000;
JSON
{
"hex": "#21793e",
"rgb": {
"r": 33,
"g": 121,
"b": 62
},
"hsl": {
"h": 139.773,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.51009,
"c": 0.12296,
"h": 150.2
},
"luminance": 0.14346
}Semantic roles & 50–950 ramp
primary
#21793E
secondary
#AC4A8C
accent
#47AEE0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B