#21793F#21793F
#21793F is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.122 H 150.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #21793F |
|---|---|
| RGB | rgb(33, 121, 63) |
| HSL | hsl(140, 57%, 30%) |
| HSV | hsv(140, 73%, 47%) |
| CMYK | cmyk(72.7%, 0%, 47.9%, 52.5%) |
| CIE-LAB | lab(44.74, -39.44, 24.48) |
| CIE-LCH | lch(44.74, 46.42, 148.17°) |
| OKLab | oklab(51.03% -0.1062 0.06) |
| OKLCH | oklch(51.03% 0.122 150.5) |
| XYZ | xyz(8.3611, 14.3560, 7.0320) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.62
Jungle Green
#048243
ΔE00 3.34
Sea Green
#2E8B57
ΔE00 7.06
Dark Sea Green
#11875D
ΔE00 7.26
Tree Green
#2A7E19
ΔE00 7.55
Dark Sage
#598556
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21793F #79215B
analogous
#2F7921 #21793F #21796B
triadic
#21793F #3F2179 #793F21
tetradic
#21793F #212F79 #79215B #796B21
square
#21793F #212F79 #79215B #796B21
split-complementary
#21793F #6B2179 #79212F
monochromatic
#07190D #144926 #21793F #2EA958 #47CD75
Accessibility & contrast
On white
5.42
#21793F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#21793F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21793F
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21793F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21793F | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6E3B
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #21793f; /* rgb */ color: rgb(33, 121, 63); /* oklch */ color: oklch(51.0% 0.122 150.5);
Tailwind
colors: {
custom: {
50: '#69a075',
500: '#21793f',
950: '#000000',
},
}SCSS
$custom: #21793f; $custom-light: #69a075; $custom-dark: #000000;
JSON
{
"hex": "#21793f",
"rgb": {
"r": 33,
"g": 121,
"b": 63
},
"hsl": {
"h": 140.455,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.51027,
"c": 0.12198,
"h": 150.5
},
"luminance": 0.14357
}Semantic roles & 50–950 ramp
primary
#21793F
secondary
#AC4A8B
accent
#47ACE0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B