#18621F#18621F
#18621F is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.6% C 0.123 H 144.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #18621F |
|---|---|
| RGB | rgb(24, 98, 31) |
| HSL | hsl(126, 61%, 24%) |
| HSV | hsv(126, 76%, 38%) |
| CMYK | cmyk(75.5%, 0%, 68.4%, 61.6%) |
| CIE-LAB | lab(36.04, -37.06, 30.86) |
| CIE-LCH | lch(36.04, 48.23, 140.22°) |
| OKLab | oklab(43.63% -0.1003 0.0718) |
| OKLCH | oklch(43.63% 0.123 144.4) |
| XYZ | xyz(4.9914, 9.0279, 2.7756) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.28
Darkgreen
#006400
ΔE00 3.97
Forest
#0B5509
ΔE00 4.49
Forest Green
#2D5A27
ΔE00 4.50
Pine
#2B5D34
ΔE00 5.91
Spruce
#0A5F38
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18621F #62185B
analogous
#366218 #18621F #186244
triadic
#18621F #1F1862 #621F18
tetradic
#18621F #183662 #62185B #624418
square
#18621F #183662 #62185B #624418
split-complementary
#18621F #441862 #621836
monochromatic
#061908 #0C310F #18621F #24932F #30C43E
Accessibility & contrast
On white
7.49
#18621F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#18621F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18621F
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18621F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18621F | 1.00 | 7.49 | 2.81 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645817
Deuteranopia (green-blind)
#5B5225
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #18621f; /* rgb */ color: rgb(24, 98, 31); /* oklch */ color: oklch(43.6% 0.123 144.4);
Tailwind
colors: {
custom: {
50: '#628f5e',
500: '#18621f',
950: '#000000',
},
}SCSS
$custom: #18621f; $custom-light: #628f5e; $custom-dark: #000000;
JSON
{
"hex": "#18621f",
"rgb": {
"r": 24,
"g": 98,
"b": 31
},
"hsl": {
"h": 125.676,
"s": 60.656,
"l": 23.922
},
"oklch": {
"l": 0.43633,
"c": 0.12329,
"h": 144.4
},
"luminance": 0.09028
}Semantic roles & 50–950 ramp
primary
#18621F
secondary
#983E90
accent
#44D5E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79