#21631F#21631F
#21631F is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.121 H 142.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #21631F |
|---|---|
| RGB | rgb(33, 99, 31) |
| HSL | hsl(118, 52%, 25%) |
| HSV | hsv(118, 69%, 39%) |
| CMYK | cmyk(66.7%, 0%, 68.7%, 61.2%) |
| CIE-LAB | lab(36.64, -35.45, 31.60) |
| CIE-LCH | lch(36.64, 47.48, 138.29°) |
| OKLab | oklab(44.2% -0.0964 0.0733) |
| OKLCH | oklch(44.2% 0.121 142.8) |
| XYZ | xyz(5.3361, 9.3454, 2.8187) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.80
Darkgreen
#006400
ΔE00 3.89
Forest Green
#2D5A27
ΔE00 4.41
Forest
#0B5509
ΔE00 4.82
Pine
#2B5D34
ΔE00 6.06
Spruce
#0A5F38
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21631F #611F63
analogous
#43631F #21631F #1F633F
triadic
#21631F #1F2163 #631F21
tetradic
#21631F #1F4363 #611F63 #633F1F
square
#21631F #1F4363 #611F63 #633F1F
split-complementary
#21631F #3F1F63 #631F43
monochromatic
#081707 #113410 #21631F #31922E #40C03C
Accessibility & contrast
On white
7.32
#21631F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#21631F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21631F
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21631F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21631F | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655A17
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#146055
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #21631f; /* rgb */ color: rgb(33, 99, 31); /* oklch */ color: oklch(44.2% 0.121 142.8);
Tailwind
colors: {
custom: {
50: '#66905e',
500: '#21631f',
950: '#000000',
},
}SCSS
$custom: #21631f; $custom-light: #66905e; $custom-dark: #000000;
JSON
{
"hex": "#21631f",
"rgb": {
"r": 33,
"g": 99,
"b": 31
},
"hsl": {
"h": 118.235,
"s": 52.308,
"l": 25.49
},
"oklch": {
"l": 0.44202,
"c": 0.12108,
"h": 142.8
},
"luminance": 0.09346
}Semantic roles & 50–950 ramp
primary
#21631F
secondary
#954698
accent
#4CDCD8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79