#18662B#18662B
#18662B is a dark, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.118 H 147.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #18662B |
|---|---|
| RGB | rgb(24, 102, 43) |
| HSL | hsl(135, 62%, 25%) |
| HSV | hsv(135, 76%, 40%) |
| CMYK | cmyk(76.5%, 0%, 57.8%, 60%) |
| CIE-LAB | lab(37.61, -36.94, 26.52) |
| CIE-LCH | lch(37.61, 45.47, 144.32°) |
| OKLab | oklab(44.98% -0.0995 0.0635) |
| OKLCH | oklch(44.98% 0.118 147.4) |
| XYZ | xyz(5.5637, 9.8707, 3.8971) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.06
Pine
#2B5D34
ΔE00 5.11
Deep Green
#02590F
ΔE00 5.29
Spruce
#0A5F38
ΔE00 5.41
Darkgreen
#006400
ΔE00 5.81
Forest
#0B5509
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18662B #661853
analogous
#2C6618 #18662B #186652
triadic
#18662B #2B1866 #662B18
tetradic
#18662B #182C66 #661853 #665218
square
#18662B #182C66 #661853 #665218
split-complementary
#18662B #521866 #66182C
monochromatic
#06190A #0C3416 #18662B #249840 #2FC955
Accessibility & contrast
On white
7.06
#18662B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#18662B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18662B
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18662B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18662B | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C26
Deuteranopia (green-blind)
#5E5630
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #18662b; /* rgb */ color: rgb(24, 102, 43); /* oklch */ color: oklch(45.0% 0.118 147.4);
Tailwind
colors: {
custom: {
50: '#629266',
500: '#18662b',
950: '#000000',
},
}SCSS
$custom: #18662b; $custom-light: #629266; $custom-dark: #000000;
JSON
{
"hex": "#18662b",
"rgb": {
"r": 24,
"g": 102,
"b": 43
},
"hsl": {
"h": 134.615,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.4498,
"c": 0.118,
"h": 147.4
},
"luminance": 0.09871
}Semantic roles & 50–950 ramp
primary
#18662B
secondary
#9C3E85
accent
#43BDE5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A