#18642F#18642F
#18642F is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.111 H 149.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #18642F |
|---|---|
| RGB | rgb(24, 100, 47) |
| HSL | hsl(138, 61%, 24%) |
| HSV | hsv(138, 76%, 39%) |
| CMYK | cmyk(76%, 0%, 53%, 60.8%) |
| CIE-LAB | lab(36.95, -35.49, 23.52) |
| CIE-LCH | lch(36.95, 42.57, 146.46°) |
| OKLab | oklab(44.46% -0.0955 0.0571) |
| OKLCH | oklch(44.46% 0.111 149.1) |
| XYZ | xyz(5.4465, 9.5132, 4.2380) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.01
Spruce
#0A5F38
ΔE00 4.03
Forest Green
#2D5A27
ΔE00 4.68
Deep Green
#02590F
ΔE00 5.69
Hunter Green
#355E3B
ΔE00 5.86
Forest
#0B5509
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18642F #64184D
analogous
#276418 #18642F #186455
triadic
#18642F #2F1864 #642F18
tetradic
#18642F #182764 #64184D #645518
square
#18642F #182764 #64184D #645518
split-complementary
#18642F #551864 #641827
monochromatic
#06190C #0C3318 #18642F #249546 #30C75D
Accessibility & contrast
On white
7.23
#18642F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#18642F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18642F
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18642F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18642F | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#5C5433
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #18642f; /* rgb */ color: rgb(24, 100, 47); /* oklch */ color: oklch(44.5% 0.111 149.1);
Tailwind
colors: {
custom: {
50: '#619168',
500: '#18642f',
950: '#000000',
},
}SCSS
$custom: #18642f; $custom-light: #619168; $custom-dark: #000000;
JSON
{
"hex": "#18642f",
"rgb": {
"r": 24,
"g": 100,
"b": 47
},
"hsl": {
"h": 138.158,
"s": 61.29,
"l": 24.314
},
"oklch": {
"l": 0.44457,
"c": 0.11125,
"h": 149.1
},
"luminance": 0.09514
}Semantic roles & 50–950 ramp
primary
#18642F
secondary
#9A3E7E
accent
#43B4E4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A