#18641F#18641F
#18641F is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.2% C 0.126 H 144.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #18641F |
|---|---|
| RGB | rgb(24, 100, 31) |
| HSL | hsl(126, 61%, 24%) |
| HSV | hsv(126, 76%, 39%) |
| CMYK | cmyk(76%, 0%, 69%, 60.8%) |
| CIE-LAB | lab(36.76, -37.82, 31.66) |
| CIE-LCH | lch(36.76, 49.32, 140.07°) |
| OKLab | oklab(44.23% -0.1023 0.0735) |
| OKLCH | oklch(44.23% 0.126 144.3) |
| XYZ | xyz(5.1808, 9.4069, 2.8387) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.68
Deep Green
#02590F
ΔE00 3.77
Forest
#0B5509
ΔE00 5.01
Forest Green
#2D5A27
ΔE00 5.04
Pine
#2B5D34
ΔE00 6.35
Spruce
#0A5F38
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18641F #64185D
analogous
#376418 #18641F #186445
triadic
#18641F #1F1864 #641F18
tetradic
#18641F #183764 #64185D #644518
square
#18641F #183764 #64185D #644518
split-complementary
#18641F #451864 #641837
monochromatic
#061908 #0C3310 #18641F #24952E #30C73E
Accessibility & contrast
On white
7.29
#18641F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#18641F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18641F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18641F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18641F | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A16
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#006156
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #18641f; /* rgb */ color: rgb(24, 100, 31); /* oklch */ color: oklch(44.2% 0.126 144.3);
Tailwind
colors: {
custom: {
50: '#62915e',
500: '#18641f',
950: '#000000',
},
}SCSS
$custom: #18641f; $custom-light: #62915e; $custom-dark: #000000;
JSON
{
"hex": "#18641f",
"rgb": {
"r": 24,
"g": 100,
"b": 31
},
"hsl": {
"h": 125.526,
"s": 61.29,
"l": 24.314
},
"oklch": {
"l": 0.44229,
"c": 0.12595,
"h": 144.3
},
"luminance": 0.09407
}Semantic roles & 50–950 ramp
primary
#18641F
secondary
#9A3E92
accent
#43D6E4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79